mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Fix typeos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a23122b6a
commit
6b2125c624
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user