GC fixes, added debug info to roots.

git-svn-id: svn://10.0.0.236/trunk@140467 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-03-31 21:38:32 +00:00
parent dd955ffdf2
commit 63c258065d
11 changed files with 119 additions and 64 deletions

View File

@@ -77,7 +77,7 @@ namespace MetaData {
ASSERT(parser.lexer.peek(true).hasKind(Token::end));
ASSERT(fnExpr); // otherwise, an exception would have been thrown out of here
fnExpr->obj = NULL;
RootKeeper rk(&fnExpr->obj);
DEFINE_ROOTKEEPER(rk, fnExpr->obj);
JS2Class *exprType;
meta->ValidateExpression(&meta->cxt, meta->env, fnExpr);
meta->SetupExprNode(meta->env, RunPhase, fnExpr, &exprType);