summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreTargetMachine.h
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2009-07-15 17:27:11 +0000
committerStuart Hastings <stuart@apple.com>2009-07-15 17:27:11 +0000
commit338191cd67a0a3e324c8b1475c975fed5ffa9e94 (patch)
treeeef241f50ca61beb5959953f38fdd29594a20597 /llvm/lib/Target/XCore/XCoreTargetMachine.h
parentc5928d2fad2313bf8e582fec74b2b9a385f350e7 (diff)
downloadbcm5719-llvm-338191cd67a0a3e324c8b1475c975fed5ffa9e94.tar.gz
bcm5719-llvm-338191cd67a0a3e324c8b1475c975fed5ffa9e94.zip
Revert 75762, 75763, 75766..75769, 75772..75775, 75778, 75780, 75782 to repair broken LLVM-GCC build.
Will revert 75770 in the llvm-gcc trunk. llvm-svn: 75799
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreTargetMachine.h')
-rw-r--r--llvm/lib/Target/XCore/XCoreTargetMachine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreTargetMachine.h b/llvm/lib/Target/XCore/XCoreTargetMachine.h
index e88c81b9bbd..081cf7a2a5a 100644
--- a/llvm/lib/Target/XCore/XCoreTargetMachine.h
+++ b/llvm/lib/Target/XCore/XCoreTargetMachine.h
@@ -36,7 +36,7 @@ protected:
virtual const TargetAsmInfo *createTargetAsmInfo() const;
public:
- XCoreTargetMachine(const Target &T, const Module &M, const std::string &FS);
+ XCoreTargetMachine(const Module &M, const std::string &FS);
virtual const XCoreInstrInfo *getInstrInfo() const { return &InstrInfo; }
virtual const XCoreFrameInfo *getFrameInfo() const { return &FrameInfo; }
@@ -49,6 +49,7 @@ public:
return &InstrInfo.getRegisterInfo();
}
virtual const TargetData *getTargetData() const { return &DataLayout; }
+ static unsigned getModuleMatchQuality(const Module &M);
// Pass Pipeline Configuration
virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
OpenPOWER on IntegriCloud