1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix typeos

llvm-svn: 6204
This commit is contained in:
Chris Lattner 2003-05-14 17:53:49 +00:00
parent 5e5564a8de
commit bfb822f655

View File

@ -63,10 +63,10 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) {
}
case Instruction::Add:
if (C->getOperand(0)->getType() == Type::LongTy ||
C->getOperand(0)->getType() == Type::ULongTy)
Result.LongVal = getConstantValue(C->getOperand(0)).LongVal +
getConstantValue(C->getOperand(1)).LongVal;
if (CE->getOperand(0)->getType() == Type::LongTy ||
CE->getOperand(0)->getType() == Type::ULongTy)
Result.LongVal = getConstantValue(CE->getOperand(0)).LongVal +
getConstantValue(CE->getOperand(1)).LongVal;
else
break;
return Result;