From 3b237fcd385a734b49bb54893ce256ba181e36f9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 19 Oct 2003 21:34:28 +0000 Subject: Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9269 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/InstructionReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bytecode') diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 84ad4c587a..97becaace6 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp @@ -158,7 +158,7 @@ void BytecodeParser::ParseInstruction(const unsigned char *&Buf, 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"); -- cgit v1.2.3-70-g09d2