js/src/jit-test/tests/auto-regress/bug783421.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-50e4ff05741e-linux
     2 // Flags: -m -n -a
     3 //
     4 gc()
     5 var p = n
     6 function m() {
     7   return function(f, code, t) {
     8 	try {
     9 	  evalcx(code, newGlobal())
    10 	} catch (e) {}
    11   }
    12 }
    13 function n() {
    14 	f()
    15 }
    16 function h(code) {
    17 	f = Function(code)
    18 	p(f, code, true)
    19 }
    20 h("\
    21   p=m();\
    22   gcPreserveCode();\
    23   gcslice(7);\
    24 ")
    25 h("\"\"")
    26 h("")
    27 h("gc()")
    28 h("")
    29 h("")
    30 h("gczeal(4,2)")

mercurial