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

Zhou Sheng zhousheng00 at gmail.com
Thu Jan 11 04:25:03 PST 2007



Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.94 -> 1.95
---
Log message:

For PR1043: http://llvm.org/PR1043 :
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.


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

 ExecutionEngine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.94 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.95
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.94	Sat Dec 30 23:51:35 2006
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Thu Jan 11 06:24:14 2007
@@ -399,7 +399,7 @@
   switch (C->getType()->getTypeID()) {
 #define GET_CONST_VAL(TY, CTY, CLASS, GETMETH) \
   case Type::TY##TyID: Result.TY##Val = (CTY)cast<CLASS>(C)->GETMETH(); break
-    GET_CONST_VAL(Bool  , bool          , ConstantBool, getValue);
+    GET_CONST_VAL(Bool  , bool          , ConstantInt, getBoolValue);
     GET_CONST_VAL(Int8  , unsigned char , ConstantInt, getZExtValue);
     GET_CONST_VAL(Int16 , unsigned short, ConstantInt, getZExtValue);
     GET_CONST_VAL(Int32 , unsigned int  , ConstantInt, getZExtValue);






More information about the llvm-commits mailing list