aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-05-06 03:12:47 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-05-06 03:12:47 +0000
commit332376bc601fcff8d8a4558c2834ddd0189c12d1 (patch)
treeb960d5f612a99a404a2748255464516acb3f9687 /lib/Bitcode
parentb330e38f4ab1096403ade60028456cae9d0c67f3 (diff)
downloadexternal_llvm-332376bc601fcff8d8a4558c2834ddd0189c12d1.zip
external_llvm-332376bc601fcff8d8a4558c2834ddd0189c12d1.tar.gz
external_llvm-332376bc601fcff8d8a4558c2834ddd0189c12d1.tar.bz2
Unbreak VC++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
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.