[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachineRegistry.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 22 21:27:46 PST 2006
Changes in directory llvm/include/llvm/Target:
TargetMachineRegistry.h updated: 1.6 -> 1.7
---
Log message:
remove always-null IntrinsicLowering argument.
---
Diffs of the changes: (+4 -8)
TargetMachineRegistry.h | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
Index: llvm/include/llvm/Target/TargetMachineRegistry.h
diff -u llvm/include/llvm/Target/TargetMachineRegistry.h:1.6 llvm/include/llvm/Target/TargetMachineRegistry.h:1.7
--- llvm/include/llvm/Target/TargetMachineRegistry.h:1.6 Thu Sep 1 16:38:20 2005
+++ llvm/include/llvm/Target/TargetMachineRegistry.h Wed Mar 22 23:27:34 2006
@@ -22,7 +22,6 @@
namespace llvm {
class Module;
class TargetMachine;
- class IntrinsicLowering;
struct TargetMachineRegistry {
struct Entry;
@@ -49,8 +48,7 @@
struct Entry {
const char *Name;
const char *ShortDesc;
- TargetMachine *(*CtorFn)(const Module &, IntrinsicLowering*,
- const std::string &);
+ TargetMachine *(*CtorFn)(const Module &, const std::string &);
unsigned (*ModuleMatchQualityFn)(const Module &M);
unsigned (*JITMatchQualityFn)();
@@ -58,8 +56,7 @@
protected:
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)());
private:
const Entry *Next; // Next entry in the linked list.
@@ -82,9 +79,8 @@
&TargetMachineImpl::getJITMatchQuality) {
}
private:
- static TargetMachine *Allocator(const Module &M, IntrinsicLowering *IL,
- const std::string &FS) {
- return new TargetMachineImpl(M, IL, FS);
+ static TargetMachine *Allocator(const Module &M, const std::string &FS) {
+ return new TargetMachineImpl(M, 0, FS);
}
};
More information about the llvm-commits
mailing list