diff options
Diffstat (limited to 'include/llvm/iPHINode.h')
-rw-r--r-- | include/llvm/iPHINode.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |