diff -r 9b63fb7cf5bf -r 172dd7799d0a jitcraft/BytecodeCompiler.cpp --- a/jitcraft/BytecodeCompiler.cpp Wed Jun 27 02:28:39 2012 -0700 +++ b/jitcraft/BytecodeCompiler.cpp Wed Jun 27 20:44:27 2012 -0700 @@ -147,7 +147,7 @@ index->right()->accept(this); __ bounds_sta(); node->expression()->accept(this); - __ st_sta_i(); + __ setarray_i(); } } @@ -179,9 +179,9 @@ __ bounds_sta(); if (node->type()->isArray()) - __ ld_sta_p(); + __ getarray_p(); else - __ ld_sta_i(); + __ getarray_i(); } void