Changes in directory llvm/lib/ExecutionEngine/JIT:

JIT.cpp updated: 1.85 -> 1.86
---
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)

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


Index: llvm/lib/ExecutionEngine/JIT/JIT.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.85 
llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.86
--- llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.85   Sat Dec 30 23:51:36 2006
+++ llvm/lib/ExecutionEngine/JIT/JIT.cpp        Thu Jan 11 06:24:14 2007
@@ -191,7 +191,7 @@
     const GenericValue &AV = ArgValues[i];
     switch (ArgTy->getTypeID()) {
     default: assert(0 && "Unknown argument type for function call!");
-    case Type::BoolTyID:   C = ConstantBool::get(AV.BoolVal); break;
+    case Type::BoolTyID:   C = ConstantInt::get(AV.BoolVal); break;
     case Type::Int8TyID:   C = ConstantInt::get(ArgTy, AV.Int8Val);  break;
     case Type::Int16TyID:  C = ConstantInt::get(ArgTy, AV.Int16Val);  break;
     case Type::Int32TyID:  C = ConstantInt::get(ArgTy, AV.Int32Val);    break;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to