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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug580694.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +// Binary: cache/js-dbg-32-7c6f62fcbd91-linux
     1.5 +// Flags: -m
     1.6 +//
     1.7 +function f3() {
     1.8 +    try {
     1.9 +        v = f()
    1.10 +    } catch (r) {}
    1.11 +}
    1.12 +function f1(a, t) {
    1.13 +    f2(f, a)
    1.14 +}
    1.15 +function f2() {
    1.16 +    u = uneval()
    1.17 +}
    1.18 +f = (function () {
    1.19 +    Proxy((function () {})(gc()), [])
    1.20 +})
    1.21 +a = ""
    1.22 +f1()
    1.23 +f3(f, a)

mercurial