src/hotspot/cpu/ppc/c1_LIRGenerator_ppc.cpp
changeset 50153 9010b580d8a9
parent 49933 c63bdf53a1a7
child 50380 bec342339138
equal deleted inserted replaced
50152:b5023063346d 50153:9010b580d8a9
  1155   set_no_result(x);
  1155   set_no_result(x);
  1156 
  1156 
  1157   // Add safepoint before generating condition code so it can be recomputed.
  1157   // Add safepoint before generating condition code so it can be recomputed.
  1158   if (x->is_safepoint()) {
  1158   if (x->is_safepoint()) {
  1159     // Increment backedge counter if needed.
  1159     // Increment backedge counter if needed.
  1160     increment_backedge_counter(state_for(x, x->state_before()), x->profiled_bci());
  1160     increment_backedge_counter_conditionally(lir_cond(cond), left, right, state_for(x, x->state_before()),
       
  1161         x->tsux()->bci(), x->fsux()->bci(), x->profiled_bci());
  1161     __ safepoint(safepoint_poll_register(), state_for(x, x->state_before()));
  1162     __ safepoint(safepoint_poll_register(), state_for(x, x->state_before()));
  1162   }
  1163   }
  1163 
  1164 
  1164   __ cmp(lir_cond(cond), left, right);
  1165   __ cmp(lir_cond(cond), left, right);
  1165   // Generate branch profiling. Profiling code doesn't kill flags.
  1166   // Generate branch profiling. Profiling code doesn't kill flags.