diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-26 06:28:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-26 06:28:43 +0000 |
commit | 8a785d7a67b98f4e33c83b6a4462e5fa7f1243b8 (patch) | |
tree | d8c89fc7bab209fa45041861cadcd5452c33ad77 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | d6b21e484241adc5d56770360806e52d073bb351 (diff) | |
download | bcm5719-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