diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:37:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:37:11 +0000 |
commit | 4fd0ea01660d7e447f072a1032abf0d7537821bf (patch) | |
tree | 74166ede2e1c551ba54d89102998b5737154330e /lib/Target/X86/X86MCInstLower.cpp | |
parent | 6135a96792ca05f6366e5dbaee6208e84589c47f (diff) |
simplify getPICBaseSymbol a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86MCInstLower.cpp')
-rw-r--r-- | lib/Target/X86/X86MCInstLower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index 03c059528e..ffa4ab93c6 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp @@ -41,7 +41,7 @@ MachineModuleInfoMachO &X86MCInstLower::getMachOMMI() const { MCSymbol *X86MCInstLower::GetPICBaseSymbol() const { return static_cast<const X86TargetLowering*>(TM.getTargetLowering())-> - getPICBaseSymbol(&MF, Ctx); + getPICBaseSymbol(MF); } /// GetSymbolFromOperand - Lower an MO_GlobalAddress or MO_ExternalSymbol |