equal
deleted
inserted
replaced
734 // Bail out if the region and its phis have too many users. |
734 // Bail out if the region and its phis have too many users. |
735 int weight = 0; |
735 int weight = 0; |
736 for (DUIterator_Fast imax, i = region->fast_outs(imax); i < imax; i++) { |
736 for (DUIterator_Fast imax, i = region->fast_outs(imax); i < imax; i++) { |
737 weight += region->fast_out(i)->outcnt(); |
737 weight += region->fast_out(i)->outcnt(); |
738 } |
738 } |
739 int nodes_left = MaxNodeLimit - C->live_nodes(); |
739 int nodes_left = C->max_node_limit() - C->live_nodes(); |
740 if (weight * 8 > nodes_left) { |
740 if (weight * 8 > nodes_left) { |
741 #ifndef PRODUCT |
741 #ifndef PRODUCT |
742 if (PrintOpto) |
742 if (PrintOpto) |
743 tty->print_cr("*** Split-if bails out: %d nodes, region weight %d", C->unique(), weight); |
743 tty->print_cr("*** Split-if bails out: %d nodes, region weight %d", C->unique(), weight); |
744 #endif |
744 #endif |