summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug767074.js
blob: 76704c6571d859ebeb97341207cf267d1ab5657d (plain)
1
2
3
4
5
6
7
8
9
10
11
var callStack = new Array();
function exitFunc (funcName) {
  var lastFunc = callStack.pop();
}
gczeal(4);
var sb = evalcx('');
sb.parent = this;
this.f = function name(outer) {
        return (exitFunc ('test'));
}
evalcx('this.f = parent.f; var s = ""; for (i = 0; i < 10; ++i) s += f(true); s', sb);