remove the intrinsiclowering hook

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-03-23 05:22:51 +00:00
parent 3b047f7bfa
commit 726c1ef2bd
6 changed files with 22 additions and 33 deletions

View File

@@ -39,7 +39,7 @@ MAttrs("mattr",
/// 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 @@ ExecutionEngine *JIT::create(ModuleProvider *MP, IntrinsicLowering *IL) {
}
// 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.