src/BytecodeCompiler.cpp
changeset 155 7926a7921fa3
parent 154 a85a0303bcb8
child 156 0d28dc5af6c7
     1.1 --- a/src/BytecodeCompiler.cpp	Sun Aug 05 00:31:20 2012 -0700
     1.2 +++ b/src/BytecodeCompiler.cpp	Sun Aug 05 00:45:06 2012 -0700
     1.3 @@ -760,7 +760,7 @@
     1.4      if (!array)
     1.5          return;
     1.6  
     1.7 -    assert(array->nelements() >= node->string()->length());
     1.8 +    assert(array->length() >= node->string()->length());
     1.9      memcpy(array->chars(), node->string()->raw(), node->string()->length() * sizeof(char));
    1.10  
    1.11      __ note_position(node->pos());