Backed out changeset af00b3f27c64 (Bug 418051)

This commit is contained in:
Dave Camp 2008-08-20 01:15:25 -07:00
parent 62fcdc68d4
commit fd49970e20

View File

@ -1994,14 +1994,6 @@ CheckDestructuring(JSContext *cx, BindData *data,
return JS_FALSE;
}
#if JS_HAS_DESTRUCTURING_SHORTHAND
if (right->pn_extra & PNX_SHORTHAND) {
js_ReportCompileErrorNumber(cx, TS(tc->parseContext), right,
JSREPORT_ERROR, JSMSG_BAD_OBJECT_INIT);
return JS_FALSE;
}
#endif
fpvd.table.ops = NULL;
lhs = left->pn_head;
if (lhs && lhs->pn_type == TOK_DEFSHARP) {