Back out 480132 fix; static analysis red

This commit is contained in:
Jim Blandy
2009-03-14 00:57:54 -07:00
parent 925b3e4fcf
commit 56f5bc77cd
6 changed files with 91 additions and 196 deletions

View File

@@ -786,8 +786,6 @@ js_NewGenerator(JSContext *cx, JSStackFrame *fp)
gen->frame.flags = (fp->flags & ~JSFRAME_ROOTED_ARGV) | JSFRAME_GENERATOR;
gen->frame.dormantNext = NULL;
gen->frame.xmlNamespace = NULL;
/* JSOP_GENERATOR appears in the prologue, outside all blocks. */
JS_ASSERT(!fp->blockChain);
gen->frame.blockChain = NULL;
/* Note that gen is newborn. */