blob: 64ec67a4526eb03839ab3063945727cbfde42b7a [file] [log] [blame]
function x() { n; }
function f() {
try { x(); } catch(ex) {}
}
var g = newGlobal();
g.parent = this;
g.eval("new Debugger(parent).onExceptionUnwind = function () {};");
enableSPSProfiling();
try {
enableSingleStepProfiling();
} catch (e) {
// Not all platforms support single-step profiling.
}
f();
f();
f();