src/share/vm/opto/lcm.cpp

changeset 563
a76240c8b133
parent 560
d942c7e64bd9
child 599
c436414a719e
child 777
37f87013dfd8
equal deleted inserted replaced
557:ec73d88d5b43 563:a76240c8b133
627 if (m->is_iteratively_computed()) { 627 if (m->is_iteratively_computed()) {
628 // Push induction variable increments last to allow other uses 628 // Push induction variable increments last to allow other uses
629 // of the phi to be scheduled first. The select() method breaks 629 // of the phi to be scheduled first. The select() method breaks
630 // ties in scheduling by worklist order. 630 // ties in scheduling by worklist order.
631 delay.push(m); 631 delay.push(m);
632 } else if (m->is_Mach() && m->as_Mach()->ideal_Opcode() == Op_CreateEx) {
633 // Force the CreateEx to the top of the list so it's processed
634 // first and ends up at the start of the block.
635 worklist.insert(0, m);
632 } else { 636 } else {
633 worklist.push(m); // Then on to worklist! 637 worklist.push(m); // Then on to worklist!
634 } 638 }
635 } 639 }
636 } 640 }

mercurial