зеркало из https://github.com/mozilla/gecko-dev.git
added DELETE_PROP instruction to implement the "delete" operation.
This commit is contained in:
Родитель
4bf1902150
Коммит
11134b4173
|
@ -138,6 +138,12 @@ $ops{"NEW_ARRAY"} =
|
||||||
rem => "dest",
|
rem => "dest",
|
||||||
params => [ ("TypedRegister") ]
|
params => [ ("TypedRegister") ]
|
||||||
};
|
};
|
||||||
|
$ops{"DELETE_PROP"} =
|
||||||
|
{
|
||||||
|
super => "Instruction_3",
|
||||||
|
rem => "dest, object, prop name",
|
||||||
|
params => [ ("TypedRegister", "TypedRegister", "const StringAtom*") ]
|
||||||
|
};
|
||||||
$ops{"GET_PROP"} =
|
$ops{"GET_PROP"} =
|
||||||
{
|
{
|
||||||
super => "Instruction_3",
|
super => "Instruction_3",
|
||||||
|
|
|
@ -138,6 +138,12 @@ $ops{"NEW_ARRAY"} =
|
||||||
rem => "dest",
|
rem => "dest",
|
||||||
params => [ ("TypedRegister") ]
|
params => [ ("TypedRegister") ]
|
||||||
};
|
};
|
||||||
|
$ops{"DELETE_PROP"} =
|
||||||
|
{
|
||||||
|
super => "Instruction_3",
|
||||||
|
rem => "dest, object, prop name",
|
||||||
|
params => [ ("TypedRegister", "TypedRegister", "const StringAtom*") ]
|
||||||
|
};
|
||||||
$ops{"GET_PROP"} =
|
$ops{"GET_PROP"} =
|
||||||
{
|
{
|
||||||
super => "Instruction_3",
|
super => "Instruction_3",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче