summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/self-test/assertRecoveredOnBailout-0.js
blob: 47f538b5f338498f16f9469fefb398ef67ede622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Prevent the GC from cancelling Ion compilations, when we expect them to succeed
gczeal(0);

function f () {
    var o = {};
    var x = assertRecoveredOnBailout(o, true);
    bailout();
    return x;
}

f();
f();