diff options
| author | 2014-10-27 14:42:00 -0700 | |
|---|---|---|
| committer | 2014-11-21 17:07:15 -0800 | |
| commit | da96aeda912ff317de2c41e5a49bd244427238ac (patch) | |
| tree | 53aacea225ee25d541a7f0bf3d2af796878964e5 /compiler/optimizing/code_generator.cc | |
| parent | 819b3c05b1553dfd9fbde5fdb8f4cf77b5689682 (diff) | |
ART: Generate switch targets from successor blocks
This patch relies on the successor blocks to generate switch targets
in GenSmallPackedSwitch and GenSmallSparseSwitch for all quick targets.
In x86, we create a new packed switch table by storing basic block
ids instead of dex offsets, and we override MarkPackedCaseLabels and
InsertCaseLabel to avoid calling FindBlock.
Change-Id: Ibb5983db582f0965aba787b520bd106522453564
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions