js/src/jit-test/tests/jaeger/bug591602.js

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 try {
     2     for (x in ['']) {
     3         gczeal(2)
     4     }
     5 } catch(e) {}
     6 try {
     7     var x, e
     8     p()
     9 } catch(e) {}
    10 try { (function() {
    11         let(x)((function() {
    12             let(y)((function() {
    13                 try {
    14                     let(c) o
    15                 } finally { (f, [1,2,3])
    16                 }
    17             }))
    18         }))
    19     })()
    20 } catch(e) {}
    21 try { (function() {
    22         if (x.w("", (function() {
    23             t
    24         })())) {}
    25     })()
    26 } catch(e) {}
    27 try {
    28     gczeal()
    29 } catch(e) {}
    30 try { (function() {
    31         for (let w in [0, 0]) let(b)((function() {
    32             let(x = w = [])((function() {
    33                 for (let a in []);
    34             }))
    35         })())
    36     })()
    37 } catch(e) {}
    39 /* Don't assert with -m only. */

mercurial