diff src/share/vm/opto/loopTransform.cpp @ 5614:60a32bb8ff99

8027444: mathExact: assert(i < _max) failed: oob: i=1, _max=1 Reviewed-by: duke
author rbackman
date Wed, 30 Oct 2013 13:14:09 +0100
parents c9ccd7b85f20
children 94a83e0f9ce1
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp	Mon Oct 28 08:34:10 2013 +0100
+++ b/src/share/vm/opto/loopTransform.cpp	Wed Oct 30 13:14:09 2013 +0100
@@ -713,6 +713,10 @@
       case Op_ModL: body_size += 30; break;
       case Op_DivL: body_size += 30; break;
       case Op_MulL: body_size += 10; break;
+      case Op_FlagsProj:
+        // Can't handle unrolling of loops containing
+        // nodes that generate a FlagsProj at the moment
+        return false;
       case Op_StrComp:
       case Op_StrEquals:
       case Op_StrIndexOf: