summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug496325.js
blob: 4f901d9f72f990701e24b99f407f04d7db29255f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Binary: cache/js-dbg-32-9d6f5ab54933-linux
// Flags: -j
//
(function() {
    var Y = function() {};
    function g() {
        function f(x) {
            for (var j = 0; j < 1; ++j) {
                x.apply(this);
            }
        }
        return function() {
            f(Y);
        }
    };
    for (var i = 0; i < 2; ++i) {
        g()();
    }
})();