diff options
author | buzbee <buzbee@google.com> | 2016-01-28 14:20:06 -0800 |
---|---|---|
committer | buzbee <buzbee@google.com> | 2016-01-28 15:58:45 -0800 |
commit | 734f3aa9f758236b6f1ace6347895af90b0d813d (patch) | |
tree | 5982ad1d7df2062e0bd5deb023b39997a3a66a98 /compiler/optimizing/graph_visualizer.cc | |
parent | de31ca62015e94016155a99a268ea798ab1ef75c (diff) |
Fix "Never Interpret" option for all interpreters
CL 196596 added support for an option to bypass interpretation.
However, it only covers 2 our of 3 interpreters (missing mterp).
This change moves the control up a level to the common interpreter
entry where it will take effect before we select which interpreter
to use.
Also, it corrects a somewhat academic bug in that the existing
code that assumes that (dex_pc == 0) means that we just entered a
method. If a method's dex code internally branched to address 0,
we could issue bogus method entry events. By moving this test up
a level, we should avoid this situation. Note, though, that dx
would never generate this pattern, and it's hard to imagine even
hand-generated dex code that would trigger a deoptimization in this
situation.
Change-Id: I6684bbf63570e02f5b01ce423c656889a890de7d
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions