[llvm] r305139 - [IR] Put a comment back on a function it belongs to. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 23:58:22 PDT 2017


Author: ctopper
Date: Sat Jun 10 01:58:22 2017
New Revision: 305139

URL: http://llvm.org/viewvc/llvm-project?rev=305139&view=rev
Log:
[IR] Put a comment back on a function it belongs to. NFC

Looks like the function was moved to a different part of the class in December, but the comment didn't move with it.

Modified:
    llvm/trunk/include/llvm/IR/Instructions.h

Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=305139&r1=305138&r2=305139&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Sat Jun 10 01:58:22 2017
@@ -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);
   }




More information about the llvm-commits mailing list