mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
Bug 352285 - back out due to inexplicable Mac-only (or at least bm-xserve08-only) Tp2 crashing.
This commit is contained in:
parent
8b01ca09f7
commit
e31bfbd7ab
@ -3440,8 +3440,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
|||||||
lval = "";
|
lval = "";
|
||||||
do_qname:
|
do_qname:
|
||||||
sn = js_GetSrcNote(jp->script, pc);
|
sn = js_GetSrcNote(jp->script, pc);
|
||||||
rval = QuoteString(&ss->sprinter, ATOM_TO_STRING(atom),
|
rval = QuoteString(&ss->sprinter, ATOM_TO_STRING(atom), 0);
|
||||||
inXML ? DONT_ESCAPE : 0);
|
|
||||||
if (!rval)
|
if (!rval)
|
||||||
return NULL;
|
return NULL;
|
||||||
RETRACT(&ss->sprinter, rval);
|
RETRACT(&ss->sprinter, rval);
|
||||||
@ -3931,7 +3930,6 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
BEGIN_LITOPX_CASE(JSOP_QNAMEPART, 0)
|
BEGIN_LITOPX_CASE(JSOP_QNAMEPART, 0)
|
||||||
inXML = JS_TRUE;
|
|
||||||
if (pc[JSOP_QNAMEPART_LENGTH] == JSOP_TOATTRNAME) {
|
if (pc[JSOP_QNAMEPART_LENGTH] == JSOP_TOATTRNAME) {
|
||||||
saveop = JSOP_TOATTRNAME;
|
saveop = JSOP_TOATTRNAME;
|
||||||
len += JSOP_TOATTRNAME_LENGTH;
|
len += JSOP_TOATTRNAME_LENGTH;
|
||||||
@ -4043,16 +4041,14 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
|||||||
|
|
||||||
BEGIN_LITOPX_CASE(JSOP_XMLCDATA, 0)
|
BEGIN_LITOPX_CASE(JSOP_XMLCDATA, 0)
|
||||||
todo = SprintPut(&ss->sprinter, "<![CDATA[", 9);
|
todo = SprintPut(&ss->sprinter, "<![CDATA[", 9);
|
||||||
if (!QuoteString(&ss->sprinter, ATOM_TO_STRING(atom),
|
if (!QuoteString(&ss->sprinter, ATOM_TO_STRING(atom), 0))
|
||||||
DONT_ESCAPE))
|
|
||||||
return NULL;
|
return NULL;
|
||||||
SprintPut(&ss->sprinter, "]]>", 3);
|
SprintPut(&ss->sprinter, "]]>", 3);
|
||||||
END_LITOPX_CASE
|
END_LITOPX_CASE
|
||||||
|
|
||||||
BEGIN_LITOPX_CASE(JSOP_XMLCOMMENT, 0)
|
BEGIN_LITOPX_CASE(JSOP_XMLCOMMENT, 0)
|
||||||
todo = SprintPut(&ss->sprinter, "<!--", 4);
|
todo = SprintPut(&ss->sprinter, "<!--", 4);
|
||||||
if (!QuoteString(&ss->sprinter, ATOM_TO_STRING(atom),
|
if (!QuoteString(&ss->sprinter, ATOM_TO_STRING(atom), 0))
|
||||||
DONT_ESCAPE))
|
|
||||||
return NULL;
|
return NULL;
|
||||||
SprintPut(&ss->sprinter, "-->", 3);
|
SprintPut(&ss->sprinter, "-->", 3);
|
||||||
END_LITOPX_CASE
|
END_LITOPX_CASE
|
||||||
|
Loading…
Reference in New Issue
Block a user