Mercurial > hg > truffle
diff src/share/vm/opto/phaseX.cpp @ 1017:e715b51789d8
Merge
author | cfang |
---|---|
date | Fri, 16 Oct 2009 14:08:44 -0700 |
parents | 89e0543e1737 03b336640699 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/opto/phaseX.cpp Wed Oct 14 12:40:20 2009 -0700 +++ b/src/share/vm/opto/phaseX.cpp Fri Oct 16 14:08:44 2009 -0700 @@ -1502,7 +1502,7 @@ //---------------------------------saturate------------------------------------ const Type* PhaseCCP::saturate(const Type* new_type, const Type* old_type, const Type* limit_type) const { - const Type* wide_type = new_type->widen(old_type); + const Type* wide_type = new_type->widen(old_type, limit_type); if (wide_type != new_type) { // did we widen? // If so, we may have widened beyond the limit type. Clip it back down. new_type = wide_type->filter(limit_type);