diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-05-06 03:12:47 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-05-06 03:12:47 +0000 |
commit | b3f36d48c62c5af5923faba2e803fcac72df93e0 (patch) | |
tree | d9273f4c340ccae119a5102ca545c53c467b5436 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 0f49a6fe89f434229ca0e6509034ea69d6db7b81 (diff) | |
download | llvm-b3f36d48c62c5af5923faba2e803fcac72df93e0.zip llvm-b3f36d48c62c5af5923faba2e803fcac72df93e0.tar.gz llvm-b3f36d48c62c5af5923faba2e803fcac72df93e0.tar.bz2 |
Unbreak VC++.
llvm-svn: 36831
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 0d420ff..65da264b 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/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. |