js/src/jit-test/tests/auto-regress/bug755639.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:051743cd9393
1 // Binary: cache/js-dbg-64-bfc259be3fa2-linux
2 // Flags: -m -n -a
3 //
4
5 if (typeof gcPreserveCode != "function") {
6 function gcPreserveCode() {}
7 }
8
9 if (typeof gcslice != "function") {
10 function gcslice() {}
11 }
12
13 function f(t)
14 {
15 for (var i = 0; i < 1; ++i) {
16 if (typeof(t) != "string") {
17 }
18 }
19 }
20 function m(d)
21 {
22 if (d == 0)
23 return "";
24 f(m(d - 1));
25 }
26 m(1);
27 gcPreserveCode();
28 try {
29 mjitChunkLimit(1);
30 } catch(exc1) {}
31 gcslice(0);
32 m(1);
33 gc();
34 m(2);

mercurial