1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug756235.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +// |jit-test| slow; 1.5 + 1.6 +gczeal(2); 1.7 +try { 1.8 + function complex(aReal, aImag) { 1.9 + let Z = new complex(0.0, 0.0); 1.10 + } 1.11 + function f(trace) { 1.12 + const width = 60; 1.13 + const height = 60; 1.14 + for (let img_x = 0; img_x < width; ((function() {}).abstract)) { 1.15 + for (let img_y = 0; img_y < height; img_y++) { 1.16 + let C = new complex(-2 + (img_x / width) * 3, -1.5 + (img_y / height) * 3); 1.17 + } 1.18 + } 1.19 + } 1.20 + var timenonjit = f(false); 1.21 +} catch(exc1) {}