blob: f2a23ab55830bee15bdd944cc2d1e886256c1ca2 [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;
}