hotspot/src/share/vm/opto/phaseX.cpp
changeset 4012 579b7bad9983
parent 3682 42de755d7d6e
child 4020 19d5ae561c5f
--- a/hotspot/src/share/vm/opto/phaseX.cpp	Wed Oct 07 12:43:50 2009 -0700
+++ b/hotspot/src/share/vm/opto/phaseX.cpp	Wed Oct 07 15:38:37 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);