summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1285217.js
blob: 31943a6d15327144748ad93f4fed7c97220108f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
function f() {
    var o = {
        x: 1
    };
    for (var i = 0; i < 300; i++) o = Object.create(o);
    for (var i = 0; i < 15; i++) {
        assertEq(o.x, 1);
        eval(o.y, undefined);
    }
}
f();