Mercurial > hg > truffle
comparison src/share/vm/opto/ifg.cpp @ 7212:291ffc492eb6
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Dec 2012 14:35:13 +0100 |
parents | 2aff40cb4703 |
children | b808febcad9a |
comparison
equal
deleted
inserted
replaced
7163:2ed8d74e5984 | 7212:291ffc492eb6 |
---|---|
571 if( !n->is_Proj() || | 571 if( !n->is_Proj() || |
572 // Could also be a flags-projection of a dead ADD or such. | 572 // Could also be a flags-projection of a dead ADD or such. |
573 (n2lidx(def) && !liveout.member(n2lidx(def)) ) ) { | 573 (n2lidx(def) && !liveout.member(n2lidx(def)) ) ) { |
574 b->_nodes.remove(j - 1); | 574 b->_nodes.remove(j - 1); |
575 if( lrgs(r)._def == n ) lrgs(r)._def = 0; | 575 if( lrgs(r)._def == n ) lrgs(r)._def = 0; |
576 n->disconnect_inputs(NULL); | 576 n->disconnect_inputs(NULL, C); |
577 _cfg._bbs.map(n->_idx,NULL); | 577 _cfg._bbs.map(n->_idx,NULL); |
578 n->replace_by(C->top()); | 578 n->replace_by(C->top()); |
579 // Since yanking a Node from block, high pressure moves up one | 579 // Since yanking a Node from block, high pressure moves up one |
580 hrp_index[0]--; | 580 hrp_index[0]--; |
581 hrp_index[1]--; | 581 hrp_index[1]--; |