Mercurial > hg > truffle
diff src/share/vm/opto/ifg.cpp @ 295:ea18057223c4
6732194: Data corruption dependent on -server/-client/-Xbatch
Summary: rematerializing nodes results in incorrect inputs
Reviewed-by: rasbold
author | never |
---|---|
date | Mon, 18 Aug 2008 23:17:51 -0700 |
parents | a61af66fc99e |
children | 9ee9cf798b59 5f85534046c2 |
line wrap: on
line diff
--- a/src/share/vm/opto/ifg.cpp Thu Aug 14 10:15:29 2008 -0700 +++ b/src/share/vm/opto/ifg.cpp Mon Aug 18 23:17:51 2008 -0700 @@ -594,7 +594,7 @@ // Insure high score for immediate-use spill copies so they get a color if( n->is_SpillCopy() - && lrgs(r)._def != NodeSentinel // MultiDef live range can still split + && lrgs(r).is_singledef() // MultiDef live range can still split && n->outcnt() == 1 // and use must be in this block && _cfg._bbs[n->unique_out()->_idx] == b ) { // All single-use MachSpillCopy(s) that immediately precede their