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
parent 4bf1902150
commit 11134b4173
2 changed files with 12 additions and 0 deletions

View File

@ -138,6 +138,12 @@ $ops{"NEW_ARRAY"} =
rem => "dest",
params => [ ("TypedRegister") ]
};
$ops{"DELETE_PROP"} =
{
super => "Instruction_3",
rem => "dest, object, prop name",
params => [ ("TypedRegister", "TypedRegister", "const StringAtom*") ]
};
$ops{"GET_PROP"} =
{
super => "Instruction_3",

View File

@ -138,6 +138,12 @@ $ops{"NEW_ARRAY"} =
rem => "dest",
params => [ ("TypedRegister") ]
};
$ops{"DELETE_PROP"} =
{
super => "Instruction_3",
rem => "dest, object, prop name",
params => [ ("TypedRegister", "TypedRegister", "const StringAtom*") ]
};
$ops{"GET_PROP"} =
{
super => "Instruction_3",