src/share/vm/opto/phaseX.cpp

changeset 1444
03b336640699
parent 1362
662f330d7275
child 1452
e715b51789d8
     1.1 --- a/src/share/vm/opto/phaseX.cpp	Wed Oct 07 12:43:50 2009 -0700
     1.2 +++ b/src/share/vm/opto/phaseX.cpp	Wed Oct 07 15:38:37 2009 -0700
     1.3 @@ -1502,7 +1502,7 @@
     1.4  //---------------------------------saturate------------------------------------
     1.5  const Type* PhaseCCP::saturate(const Type* new_type, const Type* old_type,
     1.6                                 const Type* limit_type) const {
     1.7 -  const Type* wide_type = new_type->widen(old_type);
     1.8 +  const Type* wide_type = new_type->widen(old_type, limit_type);
     1.9    if (wide_type != new_type) {          // did we widen?
    1.10      // If so, we may have widened beyond the limit type.  Clip it back down.
    1.11      new_type = wide_type->filter(limit_type);

mercurial