Function & Array prototype fixes. InstanceOf implementation.

git-svn-id: svn://10.0.0.236/trunk@137953 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-02-18 22:36:27 +00:00
parent cbb007222a
commit ee365d5103
10 changed files with 151 additions and 60 deletions

View File

@@ -488,6 +488,7 @@ namespace MetaData {
{ eNew, "New", U16 }, // <argCount:u16>
{ eCall, "Call", U16 }, // <argCount:u16>
{ eTypeof, "Typeof", 0 },
{ eInstanceof, "Instanceof", 0 },
{ eIs, "Is", 0 },
{ ePopv, "Popv", 0 },
@@ -633,6 +634,7 @@ namespace MetaData {
return 0;
case eIs: // pop expr, pop type, push boolean
case eInstanceof:
return 1;
case eCoerce: // pop value, push coerced value (type is arg)