Always pass "true" to isMaxValue(bool) because we know the type is LongTy.

llvm-svn: 32290
This commit is contained in:
Reid Spencer 2006-12-06 21:27:07 +00:00
parent de09dea742
commit b8cf1ff83c
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ void CWriter::printConstant(Constant *CPV) {
break;
case Type::LongTyID:
if (cast<ConstantInt>(CPV)->isMinValue(CPV->getType()->isSigned()))
if (cast<ConstantInt>(CPV)->isMinValue(true))
Out << "(/*INT64_MIN*/(-9223372036854775807LL)-1)";
else
Out << cast<ConstantInt>(CPV)->getSExtValue() << "ll";