jitcraft/BytecodeCompiler.cpp
changeset 6 172dd7799d0a
parent 4 633176823669
child 7 0478c27ba82c
     1.1 --- a/jitcraft/BytecodeCompiler.cpp	Wed Jun 27 02:28:39 2012 -0700
     1.2 +++ b/jitcraft/BytecodeCompiler.cpp	Wed Jun 27 20:44:27 2012 -0700
     1.3 @@ -147,7 +147,7 @@
     1.4          index->right()->accept(this);
     1.5          __ bounds_sta();
     1.6          node->expression()->accept(this);
     1.7 -        __ st_sta_i();
     1.8 +        __ setarray_i();
     1.9      }
    1.10  }
    1.11  
    1.12 @@ -179,9 +179,9 @@
    1.13      __ bounds_sta();
    1.14  
    1.15      if (node->type()->isArray())
    1.16 -        __ ld_sta_p();
    1.17 +        __ getarray_p();
    1.18      else
    1.19 -        __ ld_sta_i();
    1.20 +        __ getarray_i();
    1.21  }
    1.22  
    1.23  void