ion-store-load-from-offset-scalar.js (300B)
1 // |jit-test| --ion-offthread-compile=off; 2 // 3 function test(k) { 4 5 var a = {z:0, a:0, b:1, c:2, d:3, e:4, f:5, g:6, h:7, i:8, j:9, k:10}; 6 if (k%2 == 0) { 7 a.l = 1; 8 } else { 9 a.m = 1; 10 a.l = 1; 11 } 12 13 return a.l; 14 } 15 16 // LoadDynamicSlotFromOffset 17 for (let i=0; i<1000; i++) { 18 test(i); 19 }