projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug522136.js
1
var Q = 0;
2
try {
3
(function f(i) { Q = i; if (i == 100000) return; f(i+1); })(1)
4
} catch (e) {
5
}
6
7
// Exact behavior of recursion check depends on which JIT we use.
8
var ok = (Q == 3000 || Q == 3001);
9
assertEq(ok, true);
10