summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1072911.js
blob: 44df7268f36dfaea138f0ac37e13fa88baa3d492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function X () {};
function Y () {};
function testCallProtoMethod() {
    var a = [new X, new X, __proto__, new Y, new Y];
}
testCallProtoMethod();

function testNot() {
    var r;
    for (var i = 0; i < 10; ++i)
        r = [];
}
testNot();