comparison src/hotspot/share/opto/phaseX.cpp @ 53622:95ce45e0249f

8214055: GC/C2 abstraction for phaseX Reviewed-by: kvn, roland
author rkennke
date Thu, 22 Nov 2018 09:22:54 +0100
parents b64514ff68fd
children c14b7b6a9b2f
comparison
equal deleted inserted replaced
11:70a488868d7b 12:85831b72b731
1675 } 1675 }
1676 _worklist.push(u); 1676 _worklist.push(u);
1677 } 1677 }
1678 } 1678 }
1679 } 1679 }
1680
1681 BarrierSet::barrier_set()->barrier_set_c2()->igvn_add_users_to_worklist(this, use);
1680 } 1682 }
1681 } 1683 }
1682 1684
1683 /** 1685 /**
1684 * Remove the speculative part of all types that we know of 1686 * Remove the speculative part of all types that we know of
1825 if (has_load_barriers) { 1827 if (has_load_barriers) {
1826 // Search for load barriers behind the load 1828 // Search for load barriers behind the load
1827 for (DUIterator_Fast i3max, i3 = u->fast_outs(i3max); i3 < i3max; i3++) { 1829 for (DUIterator_Fast i3max, i3 = u->fast_outs(i3max); i3 < i3max; i3++) {
1828 Node* b = u->fast_out(i3); 1830 Node* b = u->fast_out(i3);
1829 if (bs->is_gc_barrier_node(b)) { 1831 if (bs->is_gc_barrier_node(b)) {
1830 _worklist.push(b); 1832 worklist.push(b);
1831 } 1833 }
1832 } 1834 }
1833 } 1835 }
1834 worklist.push(u); 1836 worklist.push(u);
1835 } 1837 }
1836 } 1838 }
1837 } 1839 }
1840
1841 BarrierSet::barrier_set()->barrier_set_c2()->ccp_analyze(this, worklist, m);
1838 } 1842 }
1839 } 1843 }
1840 } 1844 }
1841 } 1845 }
1842 1846