From: Craig Topper Date: Sat, 10 Jun 2017 06:58:19 +0000 (+0000) Subject: [IR] Remove unnecessary override of operator new in ExtractValueInst. It's already... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95270b9920ad215bbbcb55131e0e5595dc9c59f5;p=llvm [IR] Remove unnecessary override of operator new in ExtractValueInst. It's already inherited from UnaryInstruction. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 188d71893bf..571fe68ffbf 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -2331,9 +2331,6 @@ class ExtractValueInst : public UnaryInstruction { ArrayRef Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd); - // allocate space for exactly one operand - void *operator new(size_t s) { return User::operator new(s, 1); } - void init(ArrayRef Idxs, const Twine &NameStr); protected: