From fb0cb71701cd82bc2a64f84a5a20eb25c5158a81 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sat, 10 Jun 2017 06:58:22 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305139 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/Instructions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 571fe68ffbf..07440f21efe 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -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); } -- 2.50.1