mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
NEW_ARRAY
This commit is contained in:
parent
3a59608302
commit
baed85e41a
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user