Multiple ECMA fixes.

git-svn-id: svn://10.0.0.236/trunk@138620 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-02-27 18:37:07 +00:00
parent dadcdd3c09
commit 82cf675d46
9 changed files with 174 additions and 126 deletions

View File

@@ -86,6 +86,7 @@ namespace MetaData {
js2val thatValue = OBJECT_TO_JS2VAL(new FunctionInstance(meta->functionClass->prototype, meta->functionClass));
FunctionInstance *fnInst = checked_cast<FunctionInstance *>(JS2VAL_TO_OBJECT(thatValue));
fnInst->fWrap = new FunctionWrapper(true, new ParameterFrame(JS2VAL_INACCESSIBLE, true));
fnInst->fWrap->bCon->emitOp(eReturnVoid, meta->engine->errorPos());
return thatValue;
}
}