summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1215600.js
blob: 662e64bd9c3fc6e63e518ec72f5ff863f0be1d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
lfcode = Array()
lfcode.push("5")
lfcode.push("")
lfcode.push("3")
lfcode.push("oomTest(()=>{gc()})")
for (let i = 0; i < 10; i++) {
    file = lfcode.shift()
    loadFile(file)
}
function loadFile(lfVarx) {
    try {
        if (lfVarx.length != 1)
            switch (lfRunTypeId) {
                case 3:
                    function newFunc(x) Function(x)()
                    newFunc(lfVarx)
                case 5:
                    for (lfLocal in this);
            }
        isNaN();
        lfRunTypeId = parseInt(lfVarx);
    } catch (lfVare) {}
}