hotspot/src/share/vm/opto/output.cpp
changeset 13491 6def7a824cf7
parent 11791 3be8cae67887
child 13728 882756847a04
--- a/hotspot/src/share/vm/opto/output.cpp	Wed Aug 22 11:55:40 2012 -0700
+++ b/hotspot/src/share/vm/opto/output.cpp	Thu Aug 23 09:13:16 2012 -0700
@@ -1871,6 +1871,8 @@
   if (!do_scheduling())
     return;
 
+  assert(MaxVectorSize <= 8, "scheduling code works only with pairs");
+
   NOT_PRODUCT( TracePhase t2("isched", &_t_instrSched, TimeCompiler); )
 
   // Create a data structure for all the scheduling information