changeset 202 | dc13bf0e5d5d |
parent 1 | 489c9b5090e2 |
child 670 | ddf3e9583f2f |
child 1374 | 4c24294029a9 |
--- a/hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Fri Feb 22 17:55:13 2008 -0800 +++ b/hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp Mon Feb 25 15:05:44 2008 -0800 @@ -151,7 +151,7 @@ LIR_Address* addr; if (index_opr->is_constant()) { - int elem_size = type2aelembytes[type]; + int elem_size = type2aelembytes(type); addr = new LIR_Address(array_opr, offset_in_bytes + index_opr->as_jint() * elem_size, type); } else {