hotspot/src/share/vm/opto/phaseX.cpp
changeset 4020 19d5ae561c5f
parent 3795 6227ff014cfe
parent 4012 579b7bad9983
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/opto/phaseX.cpp	Wed Oct 14 12:40:20 2009 -0700
+++ b/hotspot/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);