From f81f6e154ccc2a5ca3b3abd955454bb4085f2915 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 2 May 2007 04:26:36 +0000 Subject: [PATCH] use the correct code for binop instrs llvm-svn: 36639 --- lib/Bitcode/Writer/BitcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index c0189ee3b61..f4ebeeaffdc 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -497,7 +497,7 @@ static void WriteInstruction(const Instruction &I, ValueEnumerator &VE, Vals.push_back(VE.getValueID(I.getOperand(0))); } else { assert(isa(I) && "Unknown instruction!"); - Code = bitc::CST_CODE_CE_BINOP; + Code = bitc::FUNC_CODE_INST_BINOP; Vals.push_back(GetEncodedBinaryOpcode(I.getOpcode())); Vals.push_back(VE.getTypeID(I.getType())); Vals.push_back(VE.getValueID(I.getOperand(0)));