Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/ifg.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 | 8c92982cbbc4 |
children | b808febcad9a |
line wrap: on
line diff
--- a/src/share/vm/opto/ifg.cpp Tue Nov 27 12:48:52 2012 -0800 +++ b/src/share/vm/opto/ifg.cpp Tue Nov 27 17:24:15 2012 -0800 @@ -573,7 +573,7 @@ (n2lidx(def) && !liveout.member(n2lidx(def)) ) ) { b->_nodes.remove(j - 1); if( lrgs(r)._def == n ) lrgs(r)._def = 0; - n->disconnect_inputs(NULL); + n->disconnect_inputs(NULL, C); _cfg._bbs.map(n->_idx,NULL); n->replace_by(C->top()); // Since yanking a Node from block, high pressure moves up one