summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsSubtarget.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
commit57c11da8dfe59e9cb9fdaab47d0fd35f54957478 (patch)
tree1df22446583c5d3f7086ff3e0906bc56a0c6ea19 /llvm/lib/Target/Mips/MipsSubtarget.h
parent43fb93ab2ff5cb53bd881651febe00b805d032c6 (diff)
downloadbcm5719-llvm-57c11da8dfe59e9cb9fdaab47d0fd35f54957478.tar.gz
bcm5719-llvm-57c11da8dfe59e9cb9fdaab47d0fd35f54957478.zip
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. llvm-svn: 77938
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
-rw-r--r--llvm/lib/Target/Mips/MipsSubtarget.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.h b/llvm/lib/Target/Mips/MipsSubtarget.h
index 2485fef887e..1d6f87d8c06 100644
--- a/llvm/lib/Target/Mips/MipsSubtarget.h
+++ b/llvm/lib/Target/Mips/MipsSubtarget.h
@@ -57,13 +57,6 @@ protected:
// HasVFPU - Processor has a vector floating point unit.
bool HasVFPU;
- // IsABICall - Enable SRV4 code for SVR4-style dynamic objects
- bool HasABICall;
-
- // HasAbsoluteCall - Enable code that is not fully position-independent.
- // Only works with HasABICall enabled.
- bool HasAbsoluteCall;
-
// isLinux - Target system is Linux. Is false we consider ELFOS for now.
bool IsLinux;
@@ -99,8 +92,7 @@ public:
/// This constructor initializes the data members to match that
/// of the specified triple.
- MipsSubtarget(const TargetMachine &TM, const std::string &TT,
- const std::string &FS, bool little);
+ MipsSubtarget(const std::string &TT, const std::string &FS, bool little);
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.
@@ -116,8 +108,6 @@ public:
bool isSingleFloat() const { return IsSingleFloat; };
bool isNotSingleFloat() const { return !IsSingleFloat; };
bool hasVFPU() const { return HasVFPU; };
- bool hasABICall() const { return HasABICall; };
- bool hasAbsoluteCall() const { return HasAbsoluteCall; };
bool isLinux() const { return IsLinux; };
/// Features related to the presence of specific instructions.
OpenPOWER on IntegriCloud