blob: 0af500b149f719057038e36c66aa647d1cfa0683 [file] [log] [blame]
"use strict";
function foo()
{
return 42;
}
function bar()
{
return foo();
}
function baz()
{
return bar() + 1;
}
noInline(foo);
noInline(baz);
(function() {
for (var i = 0; i < 10000000; ++i) {
var result = baz();
if (result != 43)
throw "Error: bad result: " + result;
}
})();