Update for new ConstantInt interface, to prevent compiler warning.

llvm-svn: 34972
This commit is contained in:
Reid Spencer 2007-03-06 17:46:45 +00:00
parent 1bb655d1b9
commit 2860ddf18f
1 changed files with 1 additions and 1 deletions

View File

@ -1092,7 +1092,7 @@ StackerCompiler::handle_word( int tkn )
// bb->getInstList().push_back( negop ); // bb->getInstList().push_back( negop );
// So we'll multiply by -1 (ugh) // So we'll multiply by -1 (ugh)
BinaryOperator* multop = BinaryOperator::create( Instruction::Mul, op1, BinaryOperator* multop = BinaryOperator::create( Instruction::Mul, op1,
ConstantInt::get( Type::Int64Ty, -1 ) ); ConstantInt::get( Type::Int64Ty, -1ULL ) );
bb->getInstList().push_back( multop ); bb->getInstList().push_back( multop );
push_value( bb, multop ); push_value( bb, multop );
break; break;