Fixed accidentally trying to trace recursive argc!=nargs which is not yet supported (bug 519999, r=brendan).

This commit is contained in:
David Anderson 2009-10-01 12:06:59 -07:00
parent 24c2c671ea
commit 8f7f08e579

View File

@ -9648,6 +9648,8 @@ IsTraceableRecursion(JSContext *cx)
return false;
if (down->argc != fp->argc)
return false;
if (fp->argc != fp->fun->nargs)
return false;
if (fp->imacpc || down->imacpc)
return false;
if ((fp->flags & JSFRAME_CONSTRUCTING) || (down->flags & JSFRAME_CONSTRUCTING))