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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 // Binary: cache/js-dbg-64-bfc259be3fa2-linux
     2 // Flags: -m -n -a
     3 //
     5 if (typeof gcPreserveCode != "function") {
     6     function gcPreserveCode() {}
     7 }
     9 if (typeof gcslice != "function") {
    10     function gcslice() {}
    11 }
    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