]> granicus.if.org Git - llvm/commitdiff
[IR] Remove unnecessary override of operator new in ExtractValueInst. It's already...
authorCraig Topper <craig.topper@intel.com>
Sat, 10 Jun 2017 06:58:19 +0000 (06:58 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 10 Jun 2017 06:58:19 +0000 (06:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305138 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Instructions.h

index 188d71893bf3c5b66be895aae31d7346a9f657c1..571fe68ffbfe10df0b6bd9e9d9f651c09cff09de 100644 (file)
@@ -2331,9 +2331,6 @@ class ExtractValueInst : public UnaryInstruction {
                           ArrayRef<unsigned> 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<unsigned> Idxs, const Twine &NameStr);
 
 protected: