added DELETE_PROP instruction to implement the "delete" operation.

This commit is contained in:
beard%netscape.com 2000-06-29 17:11:50 +00:00
Родитель 4bf1902150
Коммит 11134b4173
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -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",