blob: f87a5a44e513f66163cbb8bd80ff15a2a4858b40 [file] [log] [blame]
// Entering catch blocks via OSR is not possible (because the catch block
// is not compiled by Ion). Don't crash.
function f() {
var res = 0;
try {
throw 1;
} catch(e) {
for (var i=0; i<10; i++) {
res += 3;
}
}
assertEq(res, 30);
}
f();