summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86CodeEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-10 06:29:59 +0000
committerChris Lattner <sabre@nondot.org>2009-07-10 06:29:59 +0000
commitca9d784bf1355cbd7a145cd6f150e11576b4364a (patch)
tree74d88c41afc6e6ef854558f3096d9edb9d538e6b /llvm/lib/Target/X86/X86CodeEmitter.cpp
parente6d259340eca70c9a5a1127048dc99e5dd6b93b7 (diff)
downloadbcm5719-llvm-ca9d784bf1355cbd7a145cd6f150e11576b4364a.tar.gz
bcm5719-llvm-ca9d784bf1355cbd7a145cd6f150e11576b4364a.zip
change isGlobalStubReference to take target flags instead of a MachineOperand.
llvm-svn: 75236
Diffstat (limited to 'llvm/lib/Target/X86/X86CodeEmitter.cpp')
-rw-r--r--llvm/lib/Target/X86/X86CodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86CodeEmitter.cpp b/llvm/lib/Target/X86/X86CodeEmitter.cpp
index dff2c36e1fa..e3161e59890 100644
--- a/llvm/lib/Target/X86/X86CodeEmitter.cpp
+++ b/llvm/lib/Target/X86/X86CodeEmitter.cpp
@@ -301,7 +301,7 @@ static bool gvNeedsNonLazyPtr(const MachineOperand &GVOp,
// Return true if this is a reference to a stub containing the address of the
// global, not the global itself.
- return isGlobalStubReference(GVOp);
+ return isGlobalStubReference(GVOp.getTargetFlags());
}
template<class CodeEmitter>
OpenPOWER on IntegriCloud