bug1295031.js (495B)
1 // |jit-test| --ion-warmup-threshold=50 2 setJitCompilerOption("offthread-compilation.enable", 0); 3 gcPreserveCode(); 4 5 try { 6 while (true) { 7 a = inIon() ? 0 : 300; 8 try { 9 buf = new Uint8ClampedArray(a); 10 assertEq(buf.length, 300); 11 } catch (e) { 12 assertEqa; 13 } 14 } 15 } catch(exc1) {} 16 loadFile() 17 function loadFile() { 18 try { 19 switch (lfRunTypeId) { 20 case 1: 21 eval(); 22 } 23 } catch (lfVare) {} 24 }