[llvm-commits] CVS: llvm/tools/lli/ExecutionEngine.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed May 14 12:54:01 PDT 2003


Changes in directory llvm/tools/lli:

ExecutionEngine.cpp updated: 1.11 -> 1.12

---
Log message:

Fix typeos


---
Diffs of the changes:

Index: llvm/tools/lli/ExecutionEngine.cpp
diff -u llvm/tools/lli/ExecutionEngine.cpp:1.11 llvm/tools/lli/ExecutionEngine.cpp:1.12
--- llvm/tools/lli/ExecutionEngine.cpp:1.11	Wed May 14 12:51:49 2003
+++ llvm/tools/lli/ExecutionEngine.cpp	Wed May 14 12:53:49 2003
@@ -63,10 +63,10 @@
     }
 
     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;





More information about the llvm-commits mailing list