diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-14 17:53:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-14 17:53:49 +0000 |
commit | 6b2125c62426190c4be63668e3116ecf3b25fc23 (patch) | |
tree | 2e4b90597508bc9d2e5d54b8d1658c2fc7809416 /lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 9a23122b6a4decff3d3f10cb8d9b5ccebe5c7474 (diff) |
Fix typeos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index df4bac6947..1750b58d3d 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp @@ -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; |