summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/ignition/regress-616064.js
blob: 805de41ac54fe2b4f37bb2a8680e538d226df5f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

function foo() {
  if (this.Worker) {
    function __f_0() { this.s = a; }
    function __f_1() {
      this.l = __f_0;
    }

    with ( 'source' , Object ) throw function __f_0(__f_0) {
      return Worker.__f_0(-2147483648, __f_0);
    };

    var __v_9 = new Worker('');
    __f_1 = {s: Math.s, __f_1: true};
  }
}

try {
  foo();
} catch(e) {
}