summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug756235.js
blob: 9b9a7181e88bb6c426b91657e817b749c9b05c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// |jit-test| slow;

gczeal(2);
try {
    function complex(aReal, aImag) {
        let Z = new complex(0.0, 0.0);
    }
    function f(trace) {
        const width = 60;
        const height = 60;
        for (let img_x = 0; img_x < width; ((function() {}).abstract)) {
            for (let img_y = 0; img_y < height; img_y++) {
                let C = new complex(-2 + (img_x / width) * 3, -1.5 + (img_y / height) * 3);
            }
        }
    }
    var timenonjit = f(false);
} catch(exc1) {}