mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 633828 - Remove bogus assert. r=luke
--HG-- extra : rebase_source : c397bc741e71169e10993866790b79e5193b6157
This commit is contained in:
parent
a36f961729
commit
1711391e21
@ -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;
|
||||
|
6
js/src/jit-test/tests/basic/bug633828.js
Normal file
6
js/src/jit-test/tests/basic/bug633828.js
Normal file
@ -0,0 +1,6 @@
|
||||
// |jit-test| error: SyntaxError
|
||||
(function() {
|
||||
function a() {}
|
||||
function a() {}
|
||||
}
|
||||
for
|
Loading…
Reference in New Issue
Block a user