blob: 0a8c2471fc3452228f61a4872b588156f08c6dbf [file] [log] [blame]
// |jit-test| error: ReferenceError
var g = newGlobal();
g.parent = this;
g.eval("new Debugger(parent).onExceptionUnwind = function () { };");
enableSPSProfiling();
try {
// Only the ARM simulator supports single step profiling.
enableSingleStepProfiling();
} catch (e) {
throw new ReferenceError;
}
enableSingleStepProfiling();
a()