hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 10730 38dcf027574e
parent 10569 f5ce1108443b
child 11192 ff37c2093a0d
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Fri Sep 30 13:48:17 2011 -0700
+++ b/hotspot/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);
   }