Skip to content

Commit

Permalink
teach trace_spesh_optimizer.gdb about optimize_bb_switch
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Feb 26, 2018
1 parent 7235516 commit b325041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/trace_spesh_optimizer.gdb
Expand Up @@ -65,7 +65,7 @@ def dump_to_file_and_commit(message = "."):
add_dump_breakpoint("MVM_spesh_facts_discover", "before everything")
add_dump_breakpoint("MVM_spesh_optimize", "after facts have been discovered")
add_dump_breakpoint("eliminate_dead_bbs", "before eliminating dead BBs")
add_dump_breakpoint("optimize_bb", "going to optimize a bb").andthen(lambda self: gdb.execute("print bb->idx", False, True))
add_dump_breakpoint("optimize_bb_switch", "going to optimize a bb").andthen(lambda self: gdb.execute("print bb->idx", False, True))
add_dump_breakpoint("eliminate_unused_log_guards", "eliminating unused log guards")
add_dump_breakpoint("eliminate_pointless_gotos", "eliminating pointless gotos")
add_dump_breakpoint("eliminate_dead_ins", "eliminating dead instructions")
Expand Down

0 comments on commit b325041

Please sign in to comment.