[llvm-branch-commits] [llvm-branch] r103324 - /llvm/branches/Apple/Morbo/lib/VMCore/AsmWriter.cpp
Dan Gohman
gohman at apple.com
Fri May 7 16:14:25 PDT 2010
Author: djg
Date: Fri May 7 18:14:25 2010
New Revision: 103324
URL: http://llvm.org/viewvc/llvm-project?rev=103324&view=rev
Log:
Fix the build; Morbo doesn't have trunk's APInt changes.
Modified:
llvm/branches/Apple/Morbo/lib/VMCore/AsmWriter.cpp
Modified: llvm/branches/Apple/Morbo/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/VMCore/AsmWriter.cpp?rev=103324&r1=103323&r2=103324&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/VMCore/AsmWriter.cpp Fri May 7 18:14:25 2010
@@ -2012,7 +2012,7 @@
if (!CI) return;
APInt Val = CI->getValue();
APInt Tag = Val & ~APInt(Val.getBitWidth(), LLVMDebugVersionMask);
- if (Val.ult(LLVMDebugVersion))
+ if (Val.ult(APInt(Val.getBitWidth(), LLVMDebugVersion)))
return;
Out.PadToColumn(50);
More information about the llvm-branch-commits
mailing list