Loading js/src/jit-test/tests/basic/bug794286.js 0 → 100644 +5 −0 Original line number Diff line number Diff line for (var i = 0; i < 1; i++) { let y if (undefined) continue undefined.e } js/src/jsopcode.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -6431,6 +6431,7 @@ ReconstructPCStack(JSContext *cx, JSScript *script, jsbytecode *target, if (0 < jmpoff && pc + jmpoff <= target) { pc += jmpoff; oplen = 0; /* Use the Hidden pc count if we follow the goto */ if (hpcdepth != unsigned(-1)) { pcdepth = hpcdepth; hpcdepth = unsigned(-1); Loading @@ -6438,8 +6439,11 @@ ReconstructPCStack(JSContext *cx, JSScript *script, jsbytecode *target, continue; } if (!script->hasTrynotes()) if (!script->hasTrynotes()) { /* Use the normal pc count if continue after the goto */ hpcdepth = unsigned(-1); continue; } /* * If we do not follow a goto we look for another mean to continue Loading Loading
js/src/jit-test/tests/basic/bug794286.js 0 → 100644 +5 −0 Original line number Diff line number Diff line for (var i = 0; i < 1; i++) { let y if (undefined) continue undefined.e }
js/src/jsopcode.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -6431,6 +6431,7 @@ ReconstructPCStack(JSContext *cx, JSScript *script, jsbytecode *target, if (0 < jmpoff && pc + jmpoff <= target) { pc += jmpoff; oplen = 0; /* Use the Hidden pc count if we follow the goto */ if (hpcdepth != unsigned(-1)) { pcdepth = hpcdepth; hpcdepth = unsigned(-1); Loading @@ -6438,8 +6439,11 @@ ReconstructPCStack(JSContext *cx, JSScript *script, jsbytecode *target, continue; } if (!script->hasTrynotes()) if (!script->hasTrynotes()) { /* Use the normal pc count if continue after the goto */ hpcdepth = unsigned(-1); continue; } /* * If we do not follow a goto we look for another mean to continue Loading