summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsTargetMachine.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-08-03 02:22:28 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-08-03 02:22:28 +0000
commite2c74081998af2e64ed498d65cf501704796ccc0 (patch)
tree1d2bc6a9d597d16cbeaa8bf528c578dd9f9b2c80 /lib/Target/Mips/MipsTargetMachine.h
parent5eca4525f42a99eec29be1676a7a77928853c521 (diff)
downloadllvm-e2c74081998af2e64ed498d65cf501704796ccc0.tar.gz
llvm-e2c74081998af2e64ed498d65cf501704796ccc0.tar.bz2
llvm-e2c74081998af2e64ed498d65cf501704796ccc0.tar.xz
Remove -disable-mips-abicall and -enable-mips-absolute-call command-line
options, which don't appear to be useful. -enable-mips-absolute-call is completely unused (and unless I'm mistaken, is supposed to have the same effect that -relocation-model=dynamic-no-pic should have), and -disable-mips-abicall appears to be effectively a synonym for -relocation-model=static. Adjust the few users of hasABICall to checks which seem more appropriate. Update MipsSubtarget, MipsTargetMachine, and MipselTargetMachine to synchronize with recent changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsTargetMachine.h')
-rw-r--r--lib/Target/Mips/MipsTargetMachine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsTargetMachine.h b/lib/Target/Mips/MipsTargetMachine.h
index e2b83b721f..5f5de75dab 100644
--- a/lib/Target/Mips/MipsTargetMachine.h
+++ b/lib/Target/Mips/MipsTargetMachine.h
@@ -35,7 +35,7 @@ namespace llvm {
virtual const TargetAsmInfo *createTargetAsmInfo() const;
public:
- MipsTargetMachine(const Target &T, const Module &M,
+ MipsTargetMachine(const Target &T, const std::string &TT,
const std::string &FS, bool isLittle);
virtual const MipsInstrInfo *getInstrInfo() const
@@ -66,7 +66,8 @@ namespace llvm {
///
class MipselTargetMachine : public MipsTargetMachine {
public:
- MipselTargetMachine(const Target &T, const Module &M, const std::string &FS);
+ MipselTargetMachine(const Target &T, const std::string &TT,
+ const std::string &FS);
};
} // End llvm namespace