Debian Codegraph @

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

raw
1 // |jit-test| skip-if: !this.uneval
2
3 // Binary: cache/js-dbg-64-0723bab9f15d-linux
4 // Flags:
5 //
6 function f(code) {
7 uneval(Function(code.replace(/\/\*DUPTRY\d+/,
8 function(k) {
9 n = k.substr(8)
10 return g("try{}catch(e){}", n)
11 }
12 )))
13 }
14 function g(s, n) {
15 if (n == 1) return s
16 s2 = s + s
17 r = n % 2
18 d = (n - r) / 2;
19 m = g(s2, d)
20 return r ? m: m
21 }
22 f("if(/>/(\"\")){/*DUPTRY4968(u)}else if([]()){}")