commit | a4a96afd95e0819f4f35ece733e9a0731355d0d2 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Wed Oct 31 16:34:58 2018 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Thu Nov 08 12:25:15 2018 +0000 |
tree | 60abbacda9fcbbdb56392e540aa5c683000812ff | |
parent | d4c1c08773414451dda32a4228253c0f443313a2 [diff] |
Share the preamble in switch interpreter. Move the preamble code to the main loop to avoid replicating it. This halves per-file compile time to 0.5 min. It saves 225k(arm32) and 348k(arm64) from libart.so. Performance difference is within noise (golem using the switch). Test: "test.py -b -r --interpreter --host" with switch interpreter. Change-Id: I2615b3568eb79560d2d342ac3dd28f6269ee5e74