mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
e4x adds spurious quotes when decompiling an XMLPI object initializer. r=brendan
This commit is contained in:
parent
abd090c8e6
commit
053281a952
@ -6205,7 +6205,7 @@ js_EmitTree(JSContext *cx, JSCodeGenerator *cg, JSParseNode *pn)
|
||||
ale = js_IndexAtom(cx, pn->pn_atom2, &cg->atomList);
|
||||
if (!ale)
|
||||
return JS_FALSE;
|
||||
if (!EmitAtomIndexOp(cx, JSOP_STRING, ALE_INDEX(ale), cg))
|
||||
if (!EmitAtomIndexOp(cx, JSOP_QNAMEPART, ALE_INDEX(ale), cg))
|
||||
return JS_FALSE;
|
||||
if (!EmitAtomOp(cx, pn, JSOP_XMLPI, cg))
|
||||
return JS_FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user