diff src/share/vm/opto/output.cpp @ 6646:c38f13903fdf

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/ just before the NPG (no perm gen) changeset
author Doug Simon <doug.simon@oracle.com>
date Mon, 29 Oct 2012 21:10:04 +0100
parents e1a03c81cef0 f7cd53cedd78
children e522a00b91aa
line wrap: on
line diff
--- a/src/share/vm/opto/output.cpp	Mon Oct 29 20:02:54 2012 +0100
+++ b/src/share/vm/opto/output.cpp	Mon Oct 29 21:10:04 2012 +0100
@@ -1874,6 +1874,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