diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-10 06:29:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-10 06:29:59 +0000 |
commit | 3b6b36d6f54e780a2947cb1b9efe4eed7c40dc11 (patch) | |
tree | f64b914eb029eb4a6e38b1048e4d8d8d2e3afa5a /lib/Target/X86/X86CodeEmitter.cpp | |
parent | 07406346ebbf8a958a956eb05c1e04faedfe1e63 (diff) |
change isGlobalStubReference to take target flags instead of a MachineOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86CodeEmitter.cpp')
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index dff2c36e1f..e3161e5989 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/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> |