equal
deleted
inserted
replaced
470 if (use->is_MachIf() && get_block_for_node(use) == block) { |
470 if (use->is_MachIf() && get_block_for_node(use) == block) { |
471 found_machif = true; |
471 found_machif = true; |
472 break; |
472 break; |
473 } |
473 } |
474 |
474 |
|
475 // For nodes that produce a FlagsProj, make the node adjacent to the |
|
476 // use of the FlagsProj |
|
477 if (use->is_FlagsProj() && get_block_for_node(use) == block) { |
|
478 found_machif = true; |
|
479 break; |
|
480 } |
|
481 |
475 // More than this instruction pending for successor to be ready, |
482 // More than this instruction pending for successor to be ready, |
476 // don't choose this if other opportunities are ready |
483 // don't choose this if other opportunities are ready |
477 if (ready_cnt.at(use->_idx) > 1) |
484 if (ready_cnt.at(use->_idx) > 1) |
478 n_choice = 1; |
485 n_choice = 1; |
479 } |
486 } |