src/share/vm/opto/coalesce.cpp

changeset 730
ea18057223c4
parent 435
a61af66fc99e
child 772
9ee9cf798b59
     1.1 --- a/src/share/vm/opto/coalesce.cpp	Thu Aug 14 10:15:29 2008 -0700
     1.2 +++ b/src/share/vm/opto/coalesce.cpp	Mon Aug 18 23:17:51 2008 -0700
     1.3 @@ -604,8 +604,8 @@
     1.4    // If both are single def, then src_def powers one live range
     1.5    // and def_copy powers the other.  After merging, src_def powers
     1.6    // the combined live range.
     1.7 -  lrgs(lr1)._def = (lrgs(lr1)._def == NodeSentinel ||
     1.8 -                        lrgs(lr2)._def == NodeSentinel )
     1.9 +  lrgs(lr1)._def = (lrgs(lr1).is_multidef() ||
    1.10 +                        lrgs(lr2).is_multidef() )
    1.11      ? NodeSentinel : src_def;
    1.12    lrgs(lr2)._def = NULL;    // No def for lrg 2
    1.13    lrgs(lr2).Clear();        // Force empty mask for LRG 2

mercurial