Commit ececa172 by DJ Delorie Committed by DJ Delorie

profile.c (instrument_edges): Make sure any newly created jump insns have correct jump label info.

* profile.c (instrument_edges): Make sure any newly created
jump insns have correct jump label info.

From-SVN: r65056
parent 6a8873a7
2003-03-30 DJ Delorie <dj@redhat.com>
* profile.c (instrument_edges): Make sure any newly created
jump insns have correct jump label info.
2003-03-30 Richard Henderson <rth@redhat.com> 2003-03-30 Richard Henderson <rth@redhat.com>
* cfgbuild.c (make_edges): Use tablejump_p. * cfgbuild.c (make_edges): Use tablejump_p.
......
...@@ -202,6 +202,7 @@ instrument_edges (el) ...@@ -202,6 +202,7 @@ instrument_edges (el)
insert_insn_on_edge ( insert_insn_on_edge (
gen_edge_profiler (total_num_edges_instrumented gen_edge_profiler (total_num_edges_instrumented
+ num_instr_edges++), e); + num_instr_edges++), e);
rebuild_jump_labels (e->insns);
} }
e = e->succ_next; e = e->succ_next;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment