summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1357024.js
blob: a70f6053781ada578fa3d6056b2bac4e3efd0d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function f() {
    var o = {};
    for (var j = 0; j < 15; j++) {
        try {
            o.__proto__ = o || j;
        } catch(e) {
            continue;
        }
        throw "Fail";
    }
}
f();