summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 06:28:43 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 06:28:43 +0000
commit8a785d7a67b98f4e33c83b6a4462e5fa7f1243b8 (patch)
treed8c89fc7bab209fa45041861cadcd5452c33ad77 /clang/lib/CodeGen/CodeGenModule.cpp
parentd6b21e484241adc5d56770360806e52d073bb351 (diff)
downloadbcm5719-llvm-8a785d7a67b98f4e33c83b6a4462e5fa7f1243b8.tar.gz
bcm5719-llvm-8a785d7a67b98f4e33c83b6a4462e5fa7f1243b8.zip
Move getJTISymbol from MachineJumpTableInfo to MachineFunction,
which is more convenient, and change getPICJumpTableRelocBaseExpr to take a MachineFunction to match. Next, move the X86 code that create a PICBase symbol to X86TargetLowering::getPICBaseSymbol from X86MCInstLower::GetPICBaseSymbol, which was an asmprinter specific library. This eliminates a 'gross hack', and allows us to implement X86ISelLowering::getPICJumpTableRelocBaseExpr which now calls it. This in turn allows us to eliminate the X86AsmPrinter::printPICJumpTableSetLabel method, which was the only overload of printPICJumpTableSetLabel. llvm-svn: 94526
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud