summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-03-05 00:00:42 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-03-05 00:00:42 +0000
commitca5183d445954a9b2a570d6bbba1bc2b00ad6442 (patch)
tree2fe70b0a35fe2569c8d6434e9769bc6e8bd58204 /lib/CodeGen
parentf298fd0428e3e26fda13d24bb7295c416a9b8452 (diff)
downloadllvm-ca5183d445954a9b2a570d6bbba1bc2b00ad6442.tar.gz
llvm-ca5183d445954a9b2a570d6bbba1bc2b00ad6442.tar.bz2
llvm-ca5183d445954a9b2a570d6bbba1bc2b00ad6442.tar.xz
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index afaf7826f6..27890e95be 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -3301,7 +3301,7 @@ TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
// Flags[2] -> isSRet
// Flags[1] -> isInReg
// Flags[0] -> isSigned
- unsigned Flags = (isSRet << 2) | (isInReg << 1) | isSigned |
+ unsigned Flags = (isSRet << 2) | (isInReg << 1) | unsigned(isSigned) |
(OriginalAlignment << 27);
switch (getTypeAction(VT)) {