blob: b2c05c443e46f4e55aadddcaee8ba6fb0b161c03 [file] [log] [blame]
//@ runNoFTL; runNoLLInt; runFTLNoCJITValidate
"use strict";
var verbose = false;
load("resources/shadow-chicken-support.js", "caller relative");
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();
})();