summaryrefslogtreecommitdiffstats
path: root/stacker/lib/compiler/StackerCompiler.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-06 17:46:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-06 17:46:45 +0000
commit2860ddf18f227831b6c134288b6f0b285f30aa5c (patch)
treebb00cf52f24783b9ac4497f039522868884f5458 /stacker/lib/compiler/StackerCompiler.cpp
parent1bb655d1b9d95a949546d32b158c4121640ec9c9 (diff)
downloadbcm5719-llvm-2860ddf18f227831b6c134288b6f0b285f30aa5c.tar.gz
bcm5719-llvm-2860ddf18f227831b6c134288b6f0b285f30aa5c.zip
Update for new ConstantInt interface, to prevent compiler warning.
llvm-svn: 34972
Diffstat (limited to 'stacker/lib/compiler/StackerCompiler.cpp')
-rw-r--r--stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stacker/lib/compiler/StackerCompiler.cpp b/stacker/lib/compiler/StackerCompiler.cpp
index adf248a111d..daa763fa742 100644
--- a/stacker/lib/compiler/StackerCompiler.cpp
+++ b/stacker/lib/compiler/StackerCompiler.cpp
@@ -1092,7 +1092,7 @@ StackerCompiler::handle_word( int tkn )
// 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;
OpenPOWER on IntegriCloud