[llvm-commits] CVS: llvm/lib/Bytecode/Reader/InstructionReader.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 19 16:37:15 PDT 2003
Changes in directory llvm/lib/Bytecode/Reader:
InstructionReader.cpp updated: 1.60 -> 1.61
---
Log message:
Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Bytecode/Reader/InstructionReader.cpp
diff -u llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.60 llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.61
--- llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.60 Sat Oct 18 00:54:18 2003
+++ llvm/lib/Bytecode/Reader/InstructionReader.cpp Sun Oct 19 16:34:27 2003
@@ -158,7 +158,7 @@
case Instruction::Cast:
Result = new CastInst(getValue(RI.Type, Args[0]), getType(Args[1]));
break;
- case Instruction::PHINode: {
+ case Instruction::PHI: {
if (Args.size() == 0 || (Args.size() & 1))
throw std::string("Invalid phi node encountered!\n");
More information about the llvm-commits
mailing list