diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-10 20:09:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-10 20:09:08 +0000 |
commit | b64e774ce53da6b56ec055cfb62a4a1d246b7228 (patch) | |
tree | a0ff44d3e6b8e39dac00a74b61c508d2c0b10f62 /lib/Bytecode/Writer/InstructionWriter.cpp | |
parent | 1767edd98304724e73456d33d2d168e583ea30ac (diff) |
ModuleTyID doesn't exist anyymore
Use correct cast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@539 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/InstructionWriter.cpp')
-rw-r--r-- | lib/Bytecode/Writer/InstructionWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/InstructionWriter.cpp b/lib/Bytecode/Writer/InstructionWriter.cpp index 3859ea8303..bb0990d1c2 100644 --- a/lib/Bytecode/Writer/InstructionWriter.cpp +++ b/lib/Bytecode/Writer/InstructionWriter.cpp @@ -215,7 +215,7 @@ void BytecodeWriter::processInstruction(const Instruction *I) { if (Slots[1] > MaxOpSlot) MaxOpSlot = Slots[1]; NumOperands++; } else if (I->getOpcode() == Instruction::Call && // Handle VarArg calls - I->getOperand(0)->getType()->isMethodType()->isVarArg()) { + I->getOperand(0)->getType()->castMethodType()->isVarArg()) { outputInstrVarArgsCall(I, Table, Type, Out); return; } |