]> granicus.if.org Git - llvm/commitdiff
[IR] Put a comment back on a function it belongs to. NFC
authorCraig Topper <craig.topper@intel.com>
Sat, 10 Jun 2017 06:58:22 +0000 (06:58 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 10 Jun 2017 06:58:22 +0000 (06:58 +0000)
Looks like the function was moved to a different part of the class in December, but the comment didn't move with it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305139 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Instructions.h

index 571fe68ffbfe10df0b6bd9e9d9f651c09cff09de..07440f21efe72caee6b7712417fff03195be0b1a 100644 (file)
@@ -2576,7 +2576,6 @@ class PHINode : public Instruction {
   unsigned ReservedSpace;
 
   PHINode(const PHINode &PN);
-  // allocate space for exactly zero operands
 
   explicit PHINode(Type *Ty, unsigned NumReservedValues,
                    const Twine &NameStr = "",
@@ -2595,6 +2594,7 @@ class PHINode : public Instruction {
     allocHungoffUses(ReservedSpace);
   }
 
+  // allocate space for exactly zero operands
   void *operator new(size_t s) {
     return User::operator new(s);
   }