comparison src/share/vm/opto/reg_split.cpp @ 7196:2aff40cb4703

7092905: C2: Keep track of the number of dead nodes Summary: keep an (almost) accurate running count of the reachable (live) flow graph nodes. Reviewed-by: kvn, twisti, jrose, vlivanov
author bharadwaj
date Tue, 27 Nov 2012 17:24:15 -0800
parents e626685e9f6c
children 8373c19be854
comparison
equal deleted inserted replaced
7195:2cd5e15048e6 7196:2aff40cb4703
745 } 745 }
746 assert( u, "at least 1 valid input expected" ); 746 assert( u, "at least 1 valid input expected" );
747 if( i >= cnt ) { // Found one unique input 747 if( i >= cnt ) { // Found one unique input
748 assert(Find_id(n) == Find_id(u), "should be the same lrg"); 748 assert(Find_id(n) == Find_id(u), "should be the same lrg");
749 n->replace_by(u); // Then replace with unique input 749 n->replace_by(u); // Then replace with unique input
750 n->disconnect_inputs(NULL); 750 n->disconnect_inputs(NULL, C);
751 b->_nodes.remove(insidx); 751 b->_nodes.remove(insidx);
752 insidx--; 752 insidx--;
753 b->_ihrp_index--; 753 b->_ihrp_index--;
754 b->_fhrp_index--; 754 b->_fhrp_index--;
755 } 755 }