blob: 0b8cf03809e33403b22d1b0587904214022dc553 [file] [log] [blame] [edit]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
function test(value) {
return String.fromCharCode(value);
}
noInline(test);
for (var i = 0; i < testLoopCount; ++i)
shouldBe(test(i + 0.7), String.fromCharCode(i));