mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1242798 - Don't OSR into Ion on debuggee frames. (r=jandem)
This commit is contained in:
parent
f3c0ff979d
commit
e81d99ae7a
14
js/src/jit-test/tests/debug/bug1242798.js
Normal file
14
js/src/jit-test/tests/debug/bug1242798.js
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
var g = newGlobal();
|
||||
var dbg = new Debugger(g);
|
||||
g.eval("" + function f(c) {
|
||||
if (c == 0)
|
||||
return;
|
||||
if (c == 2)
|
||||
debugger;
|
||||
f(c-1);
|
||||
for (var i = 0; i < 100; i++)
|
||||
Debugger += newGlobal('#15: myObj.parseFloat !== parseFloat');
|
||||
});
|
||||
dbg.onDebuggerStatement = function (frame) {};
|
||||
g.eval("f(2)");
|
@ -142,7 +142,8 @@ DoWarmUpCounterFallbackOSR(JSContext* cx, BaselineFrame* frame, ICWarmUpCounter_
|
||||
return false;
|
||||
|
||||
if (!script->hasIonScript() || script->ionScript()->osrPc() != pc ||
|
||||
script->ionScript()->bailoutExpected())
|
||||
script->ionScript()->bailoutExpected() ||
|
||||
frame->isDebuggee())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user