blob: c03ee0badea103d5986339c1914771fe52370236 [file] [edit]
function foo(x) {
return "hello" + x + "!!";
}
noInline(foo);
for (var i = 0; i < testLoopCount; ++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;
}