hotspot/src/share/vm/opto/vectornode.cpp
changeset 202 dc13bf0e5d5d
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
--- a/hotspot/src/share/vm/opto/vectornode.cpp	Fri Feb 22 17:55:13 2008 -0800
+++ b/hotspot/src/share/vm/opto/vectornode.cpp	Mon Feb 25 15:05:44 2008 -0800
@@ -135,7 +135,7 @@
   int mid = lo + ct/2;
   Node* n1 = ct == 2 ? in(lo)   : binaryTreePack(C, lo,  mid);
   Node* n2 = ct == 2 ? in(lo+1) : binaryTreePack(C, mid, hi );
-  int rslt_bsize = ct * type2aelembytes[elt_basic_type()];
+  int rslt_bsize = ct * type2aelembytes(elt_basic_type());
   if (bottom_type()->is_floatingpoint()) {
     switch (rslt_bsize) {
     case  8: return new (C, 3) PackFNode(n1, n2);