summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2018-10-23 14:03:08 +0100
committerDavid Srbecky <dsrbecky@google.com>2018-11-06 16:22:06 +0000
commit6da8247ebe2e063cc14a5e943fa8b3416edf936a (patch)
tree2765ad9af2e9aa4132ca66218ee927b35943ec95 /compiler/optimizing/graph_visualizer.cc
parent4fc843c4fc9f33c4ba49c1303d526d0e0e6a3788 (diff)
Split interpreter_switch_impl into smaller functions.
Split the uber switch statement into smaller functions. Those functions are still always inlined in the switch, so it makes little difference for the time being. However the separation should allow us to: - Remove the excessive use of macros in the interpreter. - Add helpers to handle similar opcodes. - Simplify the individual opcode handlers. - Simplify interactions with mterp. - Easily experiment (e.g. switch vs goto dispatch). Performance difference is within noise (golem using the switch). Test: "test.py -r --interpreter --host" with switch interpreter. Change-Id: I6075b354e0439bf89061f492dd9b9cbe743145cb
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions