blob: a731003188bd5f3a10060ff587e004fb148ef049 [file] [log] [blame]
//@ runNoFTL; runNoLLInt; runFTLNoCJITValidate
"use strict";
var verbose = false;
load("resources/shadow-chicken-support.js");
initialize();
(function test1() {
function foo() {
expectStack([foo, test1]);
}
function bar() {
return foo();
}
function baz() {
return bar();
}
baz();
})();
(function test2() {
function foo() {
}
function bar() {
return foo();
}
function baz() {
return bar();
}
baz();
})();
(function test3() {
function foo() {
expectStack([foo, test3]);
}
function bar() {
return foo();
}
function baz() {
return bar();
}
baz();
})();