commit | 4fd0ea01660d7e447f072a1032abf0d7537821bf | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Nov 14 22:37:11 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Nov 14 22:37:11 2010 +0000 |
tree | 74166ede2e1c551ba54d89102998b5737154330e | |
parent | 6135a96792ca05f6366e5dbaee6208e84589c47f [diff] [blame] |
simplify getPICBaseSymbol a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119088 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index 03c0595..ffa4ab9 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp
@@ -41,7 +41,7 @@ MCSymbol *X86MCInstLower::GetPICBaseSymbol() const { return static_cast<const X86TargetLowering*>(TM.getTargetLowering())-> - getPICBaseSymbol(&MF, Ctx); + getPICBaseSymbol(MF); } /// GetSymbolFromOperand - Lower an MO_GlobalAddress or MO_ExternalSymbol