blob: 7b3045cba822fe1efc4f4c16d09e8e11a91f36a1 [file] [log] [blame] [edit]
let words = "break yield super".split(" ");
function test(s) {
return words.indexOf(s);
}
noInline(test);
let search = 'yield';
for (let i = 0; i < testLoopCount; i++) {
if (test(search) != 1)
throw new Error("bad");
if (i == 1)
words.push('good');
}