зеркало из https://github.com/mozilla/gecko-dev.git
Bug 364264 Assertion failure: pcdepth >= 0, at jsopcode.c:4737 - failure to handle JSOP_TRAP in js_DecompileValueGenerator
r=brendan
This commit is contained in:
Родитель
4505ff159c
Коммит
c87ecd54c6
|
@ -4630,6 +4630,8 @@ js_DecompileValueGenerator(JSContext *cx, intN spindex, jsval v,
|
|||
/* Let pc2 be non-null only for JSOP_LITOPX. */
|
||||
pc2 = NULL;
|
||||
op = (JSOp) *pc;
|
||||
if (op == JSOP_TRAP)
|
||||
op = JS_GetTrapOpcode(cx, script, pc);
|
||||
cs = &js_CodeSpec[op];
|
||||
oplen = cs->length;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче