Mercurial > hg > truffle
diff src/share/vm/c1/c1_LIRGenerator.cpp @ 3997:940513efe83a
7097679: Tiered: events with bad bci to Gotos reduced from Ifs
Summary: Save bci of instruction that produced Goto and use it to call back to runtime
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Tue, 04 Oct 2011 10:07:07 -0700 |
parents | dc45ae774613 |
children | 973293defacd |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRGenerator.cpp Fri Sep 30 13:48:17 2011 -0700 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp Tue Oct 04 10:07:07 2011 -0700 @@ -2493,7 +2493,7 @@ // increment backedge counter if needed CodeEmitInfo* info = state_for(x, state); - increment_backedge_counter(info, info->stack()->bci()); + increment_backedge_counter(info, x->profiled_bci()); CodeEmitInfo* safepoint_info = state_for(x, state); __ safepoint(safepoint_poll_register(), safepoint_info); }