blob: 530f61a55f7c4c6f3c50a6fc9d7e1bc19a2e8989 [file] [log] [blame]
description(
"Regression test for https://webkit.org/b/140033. This test should run without crashing."
);
function defineADeadFunction(x, y)
{
var u;
var a = u;
var b = x;
if (x > 1500)
b -= y;
var unused = function() {
return 42;
}
return b;
}
var result = 0;
for (var i = 1; i < 2000; i++)
result += defineADeadFunction(i, " ");