diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-01 23:46:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-01 23:46:12 +0000 |
commit | d7f8c0a3b0375ca1550977e6281cb191712159b8 (patch) | |
tree | cd4f74cf10362426bfb894be3eb9b94b3d8c3fde /lib/CodeGen/Passes.cpp | |
parent | cc3f15c9877f51054369eb27756ec7711826796e (diff) | |
download | external_llvm-d7f8c0a3b0375ca1550977e6281cb191712159b8.tar.gz external_llvm-d7f8c0a3b0375ca1550977e6281cb191712159b8.tar.bz2 external_llvm-d7f8c0a3b0375ca1550977e6281cb191712159b8.zip |
Remove "JumpTableDataSection" from TAI, instead, have AsmPrinter
compute it based on what it knows. As part of this, rename getSectionForMergeableConstant
to getSectionForConstant because it works for non-mergable constants also.
The only functionality change from this is that Xcore will start dropping
its jump tables into readonly section instead of data section in -static mode.
This should be fine as the linker resolves the relocations. If this is a
problem, let me know and we'll come up with another solution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions