summaryrefslogtreecommitdiff
path: root/lib/VMCore/InstrTypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/InstrTypes.cpp')
-rw-r--r--lib/VMCore/InstrTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/InstrTypes.cpp b/lib/VMCore/InstrTypes.cpp
index f1b5c4f100..137f18169e 100644
--- a/lib/VMCore/InstrTypes.cpp
+++ b/lib/VMCore/InstrTypes.cpp
@@ -25,7 +25,7 @@ TerminatorInst::TerminatorInst(Instruction::TermOps iType, Instruction *IB)
//===----------------------------------------------------------------------===//
PHINode::PHINode(const PHINode &PN)
- : Instruction(PN.getType(), Instruction::PHINode) {
+ : Instruction(PN.getType(), Instruction::PHI) {
Operands.reserve(PN.Operands.size());
for (unsigned i = 0; i < PN.Operands.size(); i+=2) {
Operands.push_back(Use(PN.Operands[i], this));