diff options
author | David Srbecky <dsrbecky@google.com> | 2019-06-06 14:25:42 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2019-06-26 09:27:15 +0000 |
commit | 8d335b61d637fa9b040eb9d559dbac98067467f1 (patch) | |
tree | 732fe4de2a4784493b4affb1b96aa018ce729c98 /compiler/optimizing/instruction_builder.cc | |
parent | 41249cd548d60d72b94532b00a261332451fd6f2 (diff) |
Switch-interpreter: Refactor exception handling.
Move exception handling code to the main loop.
The byte-code handlers must return false if there is an exception,
and the main loop will then handle it in the common slow-path.
This allows us to remove the remaining helper macros,
and it shrinks the interpreter uber-function by ~10%.
Test: test.py -b -r --host --64 --interpreter
Test: run-libjdwp-tests.sh --mode=host --variant=X64 --debug --no-jit
Change-Id: I38e9b31e33c609db800065c16df77023bea7c2e5
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions