commit | da96aeda912ff317de2c41e5a49bd244427238ac | [log] [tgz] |
---|---|---|
author | Chao-ying Fu <chao-ying.fu@intel.com> | Mon Oct 27 14:42:00 2014 -0700 |
committer | Chao-ying Fu <chao-ying.fu@intel.com> | Fri Nov 21 17:07:15 2014 -0800 |
tree | 53aacea225ee25d541a7f0bf3d2af796878964e5 | |
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>