[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed May 11 23:01:45 PDT 2005



Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.68 -> 1.69
---
Log message:

Fix a really horrible problem that causes the JIT to miscompile any program
that use 64-bit integers on 32-bit hosts.


---
Diffs of the changes:  (+2 -2)

 ExecutionEngine.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.68 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.69
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.68	Thu Apr 21 17:36:52 2005
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Thu May 12 01:01:28 2005
@@ -271,8 +271,8 @@
     GET_CONST_VAL(Short  , signed short  , ConstantSInt);
     GET_CONST_VAL(UInt   , unsigned int  , ConstantUInt);
     GET_CONST_VAL(Int    , signed int    , ConstantSInt);
-    GET_CONST_VAL(ULong  , unsigned long , ConstantUInt);
-    GET_CONST_VAL(Long   , signed long   , ConstantSInt);
+    GET_CONST_VAL(ULong  , uint64_t      , ConstantUInt);
+    GET_CONST_VAL(Long   , int64_t       , ConstantSInt);
     GET_CONST_VAL(Float  , float         , ConstantFP);
     GET_CONST_VAL(Double , double        , ConstantFP);
 #undef GET_CONST_VAL






More information about the llvm-commits mailing list