--- a/src/hotspot/share/opto/ifg.cpp Thu Jan 24 12:32:42 2019 +0000
+++ b/src/hotspot/share/opto/ifg.cpp Thu Jan 24 14:43:56 2019 +0100
@@ -67,20 +67,6 @@
return _adjs[a].insert( b );
}
-// Add an edge between 'a' and everything in the vector.
-void PhaseIFG::add_vector( uint a, IndexSet *vec ) {
- // IFG is triangular, so do the inserts where 'a' < 'b'.
- assert( !_is_square, "only on triangular" );
- IndexSet *adjs_a = &_adjs[a];
- if( !vec->count() ) return;
-
- IndexSetIterator elements(vec);
- uint neighbor;
- while ((neighbor = elements.next()) != 0) {
- add_edge( a, neighbor );
- }
-}
-
// Is there an edge between a and b?
int PhaseIFG::test_edge( uint a, uint b ) const {
// Sort a and b, so that a is larger