src/share/vm/c1/c1_LIRGenerator.cpp

changeset 3193
940513efe83a
parent 3160
dc45ae774613
child 3312
973293defacd
equal deleted inserted replaced
3162:5d871c1ff17c 3193:940513efe83a
2491 if (x->is_safepoint()) { 2491 if (x->is_safepoint()) {
2492 ValueStack* state = x->state_before() ? x->state_before() : x->state(); 2492 ValueStack* state = x->state_before() ? x->state_before() : x->state();
2493 2493
2494 // increment backedge counter if needed 2494 // increment backedge counter if needed
2495 CodeEmitInfo* info = state_for(x, state); 2495 CodeEmitInfo* info = state_for(x, state);
2496 increment_backedge_counter(info, info->stack()->bci()); 2496 increment_backedge_counter(info, x->profiled_bci());
2497 CodeEmitInfo* safepoint_info = state_for(x, state); 2497 CodeEmitInfo* safepoint_info = state_for(x, state);
2498 __ safepoint(safepoint_poll_register(), safepoint_info); 2498 __ safepoint(safepoint_poll_register(), safepoint_info);
2499 } 2499 }
2500 2500
2501 // Gotos can be folded Ifs, handle this case. 2501 // Gotos can be folded Ifs, handle this case.

mercurial