blob: 3a852cc371abe48386a200c0c567c35c2acaec8d [file] [log] [blame]
function foo(x) {
return "hello" + x + "!!";
}
noInline(foo);
for (var i = 0; i < 100000; ++i) {
var result = foo(" world");
if (typeof result != "string") {
describe(result);
throw "Error: bad result type: " + result;
}
if (result != "hello world!!")
throw "Error: bad result: " + result;
}