mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-15 07:29:45 +00:00
#541: more disgusting hacks to fix jsfiddle
This commit is contained in:
parent
ddd1b9aab2
commit
1f3d8fcbe3
|
@ -1260,10 +1260,11 @@ CheckSetConstOp(JSOp op, ParseNode* pn)
|
||||||
case JSOP_INITLEXICAL: case JSOP_INITALIASEDLEXICAL: break;
|
case JSOP_INITLEXICAL: case JSOP_INITALIASEDLEXICAL: break;
|
||||||
#if (0) // flip this for confidence testing
|
#if (0) // flip this for confidence testing
|
||||||
case JSOP_SETLOCAL: return JSOP_THROWSETCONST;
|
case JSOP_SETLOCAL: return JSOP_THROWSETCONST;
|
||||||
|
case JSOP_SETALIASEDVAR: return JSOP_THROWSETALIASEDCONST;
|
||||||
#else
|
#else
|
||||||
case JSOP_SETLOCAL: break;
|
case JSOP_SETLOCAL: break;
|
||||||
|
case JSOP_SETALIASEDVAR: break;
|
||||||
#endif
|
#endif
|
||||||
case JSOP_SETALIASEDVAR: return JSOP_THROWSETALIASEDCONST;
|
|
||||||
default: MOZ_CRASH("unexpected set var op");
|
default: MOZ_CRASH("unexpected set var op");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user