[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JIT.cpp
Zhou Sheng
zhousheng00 at gmail.com
Thu Jan 11 04:25:07 PST 2007
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;
More information about the llvm-commits
mailing list