summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86MCInstLower.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-14 22:37:11 +0000
committerChris Lattner <sabre@nondot.org>2010-11-14 22:37:11 +0000
commit239f9a35edfeca699e35112938b23c555065dbfd (patch)
tree86c3ceb96a818a52fc82a2a571dee99e0f96028e /llvm/lib/Target/X86/X86MCInstLower.cpp
parent94f0c14cb02bbdf2ac93debe1ceb83cd3355ca52 (diff)
downloadbcm5719-llvm-239f9a35edfeca699e35112938b23c555065dbfd.tar.gz
bcm5719-llvm-239f9a35edfeca699e35112938b23c555065dbfd.zip
simplify getPICBaseSymbol a bit.
llvm-svn: 119088
Diffstat (limited to 'llvm/lib/Target/X86/X86MCInstLower.cpp')
-rw-r--r--llvm/lib/Target/X86/X86MCInstLower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86MCInstLower.cpp b/llvm/lib/Target/X86/X86MCInstLower.cpp
index 03c059528e5..ffa4ab93c65 100644
--- a/llvm/lib/Target/X86/X86MCInstLower.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud