Bug 633828 - Remove bogus assert. r=luke

--HG--
extra : rebase_source : c397bc741e71169e10993866790b79e5193b6157
This commit is contained in:
Gary Kwong 2012-07-20 22:53:17 -07:00
parent a36f961729
commit 1711391e21
2 changed files with 6 additions and 1 deletions

View File

@ -5128,7 +5128,6 @@ CompExprTransplanter::transplant(ParseNode *pn)
if (genexp && !BumpStaticLevel(pn, tc))
return false;
} else if (pn->isUsed()) {
JS_ASSERT(!pn->isOp(JSOP_NOP));
JS_ASSERT(pn->pn_cookie.isFree());
Definition *dn = pn->pn_lexdef;

View File

@ -0,0 +1,6 @@
// |jit-test| error: SyntaxError
(function() {
function a() {}
function a() {}
}
for