[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JIT.cpp
Reid Spencer
reid at x10sys.com
Mon Dec 11 17:17:58 PST 2006
Changes in directory llvm/lib/ExecutionEngine/JIT:
JIT.cpp updated: 1.82 -> 1.83
---
Log message:
Change inferred cast creation calls to more specific cast creations.
---
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.82 llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.83
--- llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.82 Thu Dec 7 14:04:42 2006
+++ llvm/lib/ExecutionEngine/JIT/JIT.cpp Mon Dec 11 19:17:41 2006
@@ -212,7 +212,7 @@
} else {
C = ConstantInt::get(Type::LongTy, (intptr_t)ArgPtr);
}
- C = ConstantExpr::getCast(C, ArgTy); // Cast the integer to pointer
+ C = ConstantExpr::getIntToPtr(C, ArgTy); // Cast the integer to pointer
break;
}
Args.push_back(C);
More information about the llvm-commits
mailing list