Mercurial > hg > graal-compiler
comparison src/share/vm/opto/lcm.cpp @ 12816:2720ab7a0d70
Merge
author | ccheung |
---|---|
date | Fri, 04 Oct 2013 21:00:43 -0700 |
parents | c9ccd7b85f20 |
children | de6a9e811145 2b8e28fdf503 |
comparison
equal
deleted
inserted
replaced
12815:4212bfb33d76 | 12816:2720ab7a0d70 |
---|---|
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 } |