blob: bf8f6a0d0d5ef98c93b24fce62ea8745bb77f00d [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
noInline(shouldBe);
function test()
{
for (var i = 0; i < 10; ++i)
shouldBe(i.toString(10), "" + i);
}
noInline(test);
for (var i = 0; i < 1e4; ++i)
test();