testBug1357053.js (404B)
1 // |jit-test| --arm-asm-nop-fill=1 2 3 try { 4 enableSingleStepProfiling(); 5 disableSingleStepProfiling(); 6 } catch(e) { 7 // Single step profiling not supported here. 8 quit(); 9 } 10 11 enableGeckoProfiling(); 12 var m = new Function('g', "'use asm'; var tof=g.Math.fround; var fun=g.Math.ceil; function f(d) { d=tof(d); return tof(fun(d)) } return f"); 13 var f = m(this); 14 enableSingleStepProfiling(); 15 f(.1);