NEW_ARRAY

This commit is contained in:
beard%netscape.com 2000-04-08 03:37:49 +00:00
parent 3a59608302
commit baed85e41a
2 changed files with 12 additions and 0 deletions

View File

@ -140,6 +140,12 @@ JSValue interpret(ICodeModule *iCode, const JSValues& args)
registers[dst(no)].object = new JSObject();
}
break;
case NEW_ARRAY:
{
NewArray* na = static_cast<NewArray*>(instruction);
registers[dst(na)].array = new JSArray();
}
break;
case GET_PROP:
{
GetProp* gp = static_cast<GetProp*>(instruction);

View File

@ -140,6 +140,12 @@ JSValue interpret(ICodeModule *iCode, const JSValues& args)
registers[dst(no)].object = new JSObject();
}
break;
case NEW_ARRAY:
{
NewArray* na = static_cast<NewArray*>(instruction);
registers[dst(na)].array = new JSArray();
}
break;
case GET_PROP:
{
GetProp* gp = static_cast<GetProp*>(instruction);