1400 yin->load_item(); |
1400 yin->load_item(); |
1401 } else { |
1401 } else { |
1402 yin->dont_load_item(); |
1402 yin->dont_load_item(); |
1403 } |
1403 } |
1404 |
1404 |
|
1405 LIR_Opr left = xin->result(); |
|
1406 LIR_Opr right = yin->result(); |
|
1407 |
|
1408 set_no_result(x); |
|
1409 |
1405 // add safepoint before generating condition code so it can be recomputed |
1410 // add safepoint before generating condition code so it can be recomputed |
1406 if (x->is_safepoint()) { |
1411 if (x->is_safepoint()) { |
1407 // increment backedge counter if needed |
1412 // increment backedge counter if needed |
1408 increment_backedge_counter(state_for(x, x->state_before()), x->profiled_bci()); |
1413 increment_backedge_counter_conditionally(lir_cond(cond), left, right, state_for(x, x->state_before()), |
|
1414 x->tsux()->bci(), x->fsux()->bci(), x->profiled_bci()); |
1409 __ safepoint(safepoint_poll_register(), state_for(x, x->state_before())); |
1415 __ safepoint(safepoint_poll_register(), state_for(x, x->state_before())); |
1410 } |
1416 } |
1411 set_no_result(x); |
1417 |
1412 |
|
1413 LIR_Opr left = xin->result(); |
|
1414 LIR_Opr right = yin->result(); |
|
1415 __ cmp(lir_cond(cond), left, right); |
1418 __ cmp(lir_cond(cond), left, right); |
1416 // Generate branch profiling. Profiling code doesn't kill flags. |
1419 // Generate branch profiling. Profiling code doesn't kill flags. |
1417 profile_branch(x, cond); |
1420 profile_branch(x, cond); |
1418 move_to_phi(x->state()); |
1421 move_to_phi(x->state()); |
1419 if (x->x()->type()->is_float_kind()) { |
1422 if (x->x()->type()->is_float_kind()) { |