summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-28 00:19:10 +0000
committerChris Lattner <sabre@nondot.org>2009-10-28 00:19:10 +0000
commitd04cb6d0fa650bcb3dc75ec643de0c812c56eb80 (patch)
treefdf3bb1bbc7f21bacb530b0c30ea2bcd1743a30a /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent6d0a86cbd1f41f8b098d2d8f095309876127ef87 (diff)
downloadbcm5719-llvm-d04cb6d0fa650bcb3dc75ec643de0c812c56eb80.tar.gz
bcm5719-llvm-d04cb6d0fa650bcb3dc75ec643de0c812c56eb80.zip
rename indbr -> indirectbr to appease the residents of #llvm.
llvm-svn: 85351
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index c0f97c19687..692c289b833 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1015,8 +1015,8 @@ static void WriteInstruction(const Instruction &I, unsigned InstID,
for (unsigned i = 0, e = I.getNumOperands(); i != e; ++i)
Vals.push_back(VE.getValueID(I.getOperand(i)));
break;
- case Instruction::IndBr:
- Code = bitc::FUNC_CODE_INST_INDBR;
+ case Instruction::IndirectBr:
+ Code = bitc::FUNC_CODE_INST_INDIRECTBR;
Vals.push_back(VE.getTypeID(I.getOperand(0)->getType()));
for (unsigned i = 0, e = I.getNumOperands(); i != e; ++i)
Vals.push_back(VE.getValueID(I.getOperand(i)));
OpenPOWER on IntegriCloud