summaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86Subtarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-10 21:00:45 +0000
committerChris Lattner <sabre@nondot.org>2009-07-10 21:00:45 +0000
commite2c920845a407957b8ae2600feae1f4c85a0d4d0 (patch)
tree605f988ac1368a2eeff9de67e3323ad7286f2a4e /lib/Target/X86/X86Subtarget.h
parent8097b65c432c3cc39339b6bb0ead9e1e09232ff7 (diff)
downloadexternal_llvm-e2c920845a407957b8ae2600feae1f4c85a0d4d0.zip
external_llvm-e2c920845a407957b8ae2600feae1f4c85a0d4d0.tar.gz
external_llvm-e2c920845a407957b8ae2600feae1f4c85a0d4d0.tar.bz2
remove the now-dead TM argument to these methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r--lib/Target/X86/X86Subtarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 9bba940..6397a56 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/lib/Target/X86/X86Subtarget.h
@@ -187,11 +187,11 @@ public:
bool isPICStyleGOT() const { return PICStyle == PICStyles::GOT; }
bool isPICStyleRIPRel() const { return PICStyle == PICStyles::RIPRel; }
- bool isPICStyleStubPIC(const TargetMachine &TM) const {
+ bool isPICStyleStubPIC() const {
return PICStyle == PICStyles::StubPIC;
}
- bool isPICStyleStubNoDynamic(const TargetMachine &TM) const {
+ bool isPICStyleStubNoDynamic() const {
return PICStyle == PICStyles::StubDynamicNoPIC;
}
bool isPICStyleStubAny() const {