diff -r 7893b7ce2d8d -r dc13bf0e5d5d hotspot/src/share/vm/c1/c1_LIR.cpp --- a/hotspot/src/share/vm/c1/c1_LIR.cpp Fri Feb 22 17:55:13 2008 -0800 +++ b/hotspot/src/share/vm/c1/c1_LIR.cpp Mon Feb 25 15:05:44 2008 -0800 @@ -105,7 +105,7 @@ LIR_Address::Scale LIR_Address::scale(BasicType type) { - int elem_size = type2aelembytes[type]; + int elem_size = type2aelembytes(type); switch (elem_size) { case 1: return LIR_Address::times_1; case 2: return LIR_Address::times_2;