diff options
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 0d420ff..65da264 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -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. |