aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86Subtarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-10 05:52:02 +0000
committerChris Lattner <sabre@nondot.org>2009-07-10 05:52:02 +0000
commited0dca6a5dfa26e63c5636eb092640159182df89 (patch)
tree8e6f74214ea929fff770762f9deba1dd85cf5370 /lib/Target/X86/X86Subtarget.h
parent754b7650c20a0fa3a9df3f067dc02a0905992325 (diff)
downloadexternal_llvm-ed0dca6a5dfa26e63c5636eb092640159182df89.zip
external_llvm-ed0dca6a5dfa26e63c5636eb092640159182df89.tar.gz
external_llvm-ed0dca6a5dfa26e63c5636eb092640159182df89.tar.bz2
GVRequiresExtraLoad is now never used for calls, simplify it based on this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.h')
-rw-r--r--lib/Target/X86/X86Subtarget.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/X86/X86Subtarget.h b/lib/Target/X86/X86Subtarget.h
index 7148d0d..1fe612a 100644
--- a/lib/Target/X86/X86Subtarget.h
+++ b/lib/Target/X86/X86Subtarget.h
@@ -201,8 +201,7 @@ public:
/// symbols are indirect, loading the value at address GV rather then the
/// value of GV itself. This means that the GlobalAddress must be in the base
/// or index register of the address, not the GV offset field.
- bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine &TM,
- bool isDirectCall) const;
+ bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine &TM)const;
/// True if accessing the GV requires a register. This is a superset of the
/// cases where GVRequiresExtraLoad is true. Some variations of PIC require