summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug878520.js
blob: fbc3358720a169e3ca4d43a2176c29da1e044879 (plain)
1
2
3
4
5
6
7
8
9
function surprise(depth) {
    arguments.callee.caller(depth);
}

(function(depth) {
    function foo() { function asmModule() { 'use asm'; return {} } };
    if (depth)
        surprise(depth - 1);
})(2);