Unbreak VC++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen
2007-05-06 03:12:47 +00:00
parent b330e38f4a
commit 332376bc60
6 changed files with 15 additions and 9 deletions

View File

@@ -808,7 +808,7 @@ static void WriteInstruction(const Instruction &I, unsigned InstID,
case Instruction::Call: {
Code = bitc::FUNC_CODE_INST_CALL;
Vals.push_back((cast<CallInst>(I).getCallingConv() << 1) |
cast<CallInst>(I).isTailCall());
unsigned(cast<CallInst>(I).isTailCall()));
PushValueAndType(I.getOperand(0), InstID, Vals, VE); // Callee
// Emit value #'s for the fixed parameters.