src/BytecodeCompiler.cpp
changeset 150 457110815c87
parent 149 b01ee7446984
child 151 bb419abf0df4
     1.1 --- a/src/BytecodeCompiler.cpp	Sat Aug 04 21:06:47 2012 -0700
     1.2 +++ b/src/BytecodeCompiler.cpp	Sat Aug 04 21:23:39 2012 -0700
     1.3 @@ -238,7 +238,6 @@
     1.4              __ dup();
     1.5              __ getfield(expr->fieldIndex(), expr->type());
     1.6          }
     1.7 -
     1.8      } else {
     1.9          IndexExpression *index = node->lvalue()->toIndexExpression();
    1.10          __ note_position(index->pos());
    1.11 @@ -295,7 +294,7 @@
    1.12          // :TODO: get rid of the BOUNDS instruction, embed it in g/setarray*?
    1.13          // We can't emit it here because the stack is slightly out of position.
    1.14          // __ bounds();
    1.15 -        __ setarray(index->left()->type()->contained());
    1.16 +        __ setarray(index->left()->type());
    1.17      }
    1.18  }
    1.19