Skip to content

Commit

Permalink
Merge pull request #4133 from pdbain-ibm/reorder_iincw
Browse files Browse the repository at this point in the history
Reorder interpreter jump targets for performance
  • Loading branch information
gacholio authored Jan 1, 2019
2 parents 4f34b42 + 21fa283 commit 9f2ea2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/vm/BytecodeInterpreter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9993,6 +9993,9 @@ executeBreakpointedBytecode: {
JUMP_TARGET(JBmultianewarray):
SINGLE_STEP();
PERFORM_ACTION(multianewarray(REGISTER_ARGS));
JUMP_TARGET(JBiincw):
SINGLE_STEP();
PERFORM_ACTION(iinc(REGISTER_ARGS, 2));
JUMP_TARGET(JBaloadw):
JUMP_TARGET(JBiloadw):
JUMP_TARGET(JBfloadw):
Expand All @@ -10011,9 +10014,6 @@ executeBreakpointedBytecode: {
JUMP_TARGET(JBdstorew):
SINGLE_STEP();
PERFORM_ACTION(lstorew(REGISTER_ARGS));
JUMP_TARGET(JBiincw):
SINGLE_STEP();
PERFORM_ACTION(iinc(REGISTER_ARGS, 2));
JUMP_TARGET(JBreturnFromConstructor):
SINGLE_STEP();
PERFORM_ACTION(returnFromConstructor(REGISTER_ARGS));
Expand Down

0 comments on commit 9f2ea2c

Please sign in to comment.