hotspot/src/share/vm/opto/output.cpp
changeset 13883 6979b9850feb
parent 13728 882756847a04
child 13895 f6dfe4123709
--- a/hotspot/src/share/vm/opto/output.cpp	Mon Sep 17 17:02:10 2012 -0700
+++ b/hotspot/src/share/vm/opto/output.cpp	Mon Sep 17 19:39:07 2012 -0700
@@ -1869,7 +1869,9 @@
   if (!do_scheduling())
     return;
 
-  assert(MaxVectorSize <= 8, "scheduling code works only with pairs");
+  // Scheduling code works only with pairs (8 bytes) maximum.
+  if (max_vector_size() > 8)
+    return;
 
   NOT_PRODUCT( TracePhase t2("isched", &_t_instrSched, TimeCompiler); )