[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JIT.h TargetSelect.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 22 21:23:03 PST 2006
Changes in directory llvm/lib/ExecutionEngine/JIT:
JIT.h updated: 1.28 -> 1.29
TargetSelect.cpp updated: 1.10 -> 1.11
---
Log message:
remove the intrinsiclowering hook
---
Diffs of the changes: (+4 -6)
JIT.h | 6 ++----
TargetSelect.cpp | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
Index: llvm/lib/ExecutionEngine/JIT/JIT.h
diff -u llvm/lib/ExecutionEngine/JIT/JIT.h:1.28 llvm/lib/ExecutionEngine/JIT/JIT.h:1.29
--- llvm/lib/ExecutionEngine/JIT/JIT.h:1.28 Wed Mar 22 00:07:50 2006
+++ llvm/lib/ExecutionEngine/JIT/JIT.h Wed Mar 22 23:22:51 2006
@@ -69,11 +69,9 @@
TargetJITInfo &getJITInfo() const { return TJI; }
/// create - Create an return a new JIT compiler if there is one available
- /// for the current target. Otherwise, return null. If the JIT is created
- /// successfully, it takes responsibility for deleting the specified
- /// IntrinsicLowering implementation.
+ /// for the current target. Otherwise, return null.
///
- static ExecutionEngine *create(ModuleProvider *MP, IntrinsicLowering *IL = 0);
+ static ExecutionEngine *create(ModuleProvider *MP);
/// run - Start execution with the specified function and arguments.
///
Index: llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp
diff -u llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.10 llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.11
--- llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp:1.10 Sun Oct 23 17:39:01 2005
+++ llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp Wed Mar 22 23:22:51 2006
@@ -39,7 +39,7 @@
/// create - Create an return a new JIT compiler if there is one available
/// for the current target. Otherwise, return null.
///
-ExecutionEngine *JIT::create(ModuleProvider *MP, IntrinsicLowering *IL) {
+ExecutionEngine *JIT::create(ModuleProvider *MP) {
if (MArch == 0) {
std::string Error;
MArch = TargetMachineRegistry::getClosestTargetForJIT(Error);
@@ -61,7 +61,7 @@
}
// Allocate a target...
- TargetMachine *Target = MArch->CtorFn(*MP->getModule(), IL, FeaturesStr);
+ TargetMachine *Target = MArch->CtorFn(*MP->getModule(), 0, FeaturesStr);
assert(Target && "Could not allocate target machine!");
// If the target supports JIT code generation, return a new JIT now.
More information about the llvm-commits
mailing list