blob: 5e8249d30e4b325b12137fe1e196ff97114ee063 [file] [log] [blame]
description(
"This tests ensures that the DFG StackLayoutPhase is only accessing a union'ed calleeVariable. This test should not crash."
);
// Regression test for <https://webkit.org/b/130566>.
function test()
{
function doTest() {
(function foo(a) {
if (a > 0) {
foo(a - 1);
}
}) (424);
}
for (var i = 0; i < 1000; i++) {
try {
doTest();
} catch(runError) {
}
}
}
test();