Unbreak VC++.

llvm-svn: 36831
This commit is contained in:
Jeff Cohen
2007-05-06 03:12:47 +00:00
parent 0f49a6fe89
commit b3f36d48c6
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.