summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/self-test/getBacktrace-bug1138195.js
blob: 092cdd936f186a7f2b7c02081f76c37d7e22a6f3 (plain)
1
2
3
4
5
6
7
8

function f(x) {
    for (var i = 0; i < 40; ++i) {
	var stack = getBacktrace({args: true});
	(function() { g = x;});
    }
}
f(1);