[llvm-commits] CVS: llvm-stacker/lib/compiler/StackerCompiler.cpp
Reid Spencer
reid at x10sys.com
Tue Mar 6 09:47:02 PST 2007
Changes in directory llvm-stacker/lib/compiler:
StackerCompiler.cpp updated: 1.35 -> 1.36
---
Log message:
Update for new ConstantInt interface, to prevent compiler warning.
---
Diffs of the changes: (+1 -1)
StackerCompiler.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm-stacker/lib/compiler/StackerCompiler.cpp:1.35 llvm-stacker/lib/compiler/StackerCompiler.cpp:1.36
--- llvm-stacker/lib/compiler/StackerCompiler.cpp:1.35 Sun Feb 18 23:05:07 2007
+++ llvm-stacker/lib/compiler/StackerCompiler.cpp Tue Mar 6 11:46:45 2007
@@ -1092,7 +1092,7 @@
// bb->getInstList().push_back( negop );
// So we'll multiply by -1 (ugh)
BinaryOperator* multop = BinaryOperator::create( Instruction::Mul, op1,
- ConstantInt::get( Type::Int64Ty, -1 ) );
+ ConstantInt::get( Type::Int64Ty, -1ULL ) );
bb->getInstList().push_back( multop );
push_value( bb, multop );
break;
More information about the llvm-commits
mailing list