diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Instruction.def | 2 | ||||
-rw-r--r-- | include/llvm/iPHINode.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Instruction.def b/include/llvm/Instruction.def index 4a78edf..f40110e 100644 --- a/include/llvm/Instruction.def +++ b/include/llvm/Instruction.def @@ -114,7 +114,7 @@ HANDLE_MEMORY_INST(25, GetElementPtr, GetElementPtrInst) // Other operators... FIRST_OTHER_INST(26) -HANDLE_OTHER_INST(26, PHINode, PHINode ) // PHI node instruction +HANDLE_OTHER_INST(26, PHI , PHINode ) // PHI node instruction HANDLE_OTHER_INST(27, Cast , CastInst ) // Type cast HANDLE_OTHER_INST(28, Call , CallInst ) // Call a function diff --git a/include/llvm/iPHINode.h b/include/llvm/iPHINode.h index 4dbee25..5213455 100644 --- a/include/llvm/iPHINode.h +++ b/include/llvm/iPHINode.h @@ -23,7 +23,7 @@ class PHINode : public Instruction { public: PHINode(const Type *Ty, const std::string &Name = "", Instruction *InsertBefore = 0) - : Instruction(Ty, Instruction::PHINode, Name, InsertBefore) { + : Instruction(Ty, Instruction::PHI, Name, InsertBefore) { } virtual Instruction *clone() const { return new PHINode(*this); } @@ -98,7 +98,7 @@ public: /// Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const PHINode *) { return true; } static inline bool classof(const Instruction *I) { - return I->getOpcode() == Instruction::PHINode; + return I->getOpcode() == Instruction::PHI; } static inline bool classof(const Value *V) { return isa<Instruction>(V) && classof(cast<Instruction>(V)); |