aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-23 05:28:02 +0000
committerChris Lattner <sabre@nondot.org>2006-03-23 05:28:02 +0000
commitef98691ca3a3b765b18b24ec9e01000e9e1b6bd6 (patch)
tree1433c3a7b7c999942896f2e0dc10dace137755b9 /lib
parent726c1ef2bdd72975f41e3188371bb7d6f40401be (diff)
remove always-null IntrinsicLowering argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/ExecutionEngine/JIT/TargetSelect.cpp2
-rw-r--r--lib/Target/TargetMachineRegistry.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/ExecutionEngine/JIT/TargetSelect.cpp b/lib/ExecutionEngine/JIT/TargetSelect.cpp
index 05e86e650a..ef9c8f549e 100644
--- a/lib/ExecutionEngine/JIT/TargetSelect.cpp
+++ b/lib/ExecutionEngine/JIT/TargetSelect.cpp
@@ -61,7 +61,7 @@ ExecutionEngine *JIT::create(ModuleProvider *MP) {
}
// Allocate a target...
- TargetMachine *Target = MArch->CtorFn(*MP->getModule(), 0, FeaturesStr);
+ TargetMachine *Target = MArch->CtorFn(*MP->getModule(), FeaturesStr);
assert(Target && "Could not allocate target machine!");
// If the target supports JIT code generation, return a new JIT now.
diff --git a/lib/Target/TargetMachineRegistry.cpp b/lib/Target/TargetMachineRegistry.cpp
index f5bd035d03..2ab8f5110c 100644
--- a/lib/Target/TargetMachineRegistry.cpp
+++ b/lib/Target/TargetMachineRegistry.cpp
@@ -26,8 +26,7 @@ const TargetMachineRegistry::Entry *TargetMachineRegistry::List = 0;
static TargetRegistrationListener *Listeners = 0;
TargetMachineRegistry::Entry::Entry(const char *N, const char *SD,
- TargetMachine *(*CF)(const Module &, IntrinsicLowering*,
- const std::string &),
+ TargetMachine *(*CF)(const Module &,const std::string &),
unsigned (*MMF)(const Module &M), unsigned (*JMF)())
: Name(N), ShortDesc(SD), CtorFn(CF), ModuleMatchQualityFn(MMF),
JITMatchQualityFn(JMF), Next(List) {