blob: 06de8732936cf1674db84e9473781be132b7769f [file] [log] [blame]
Ben Murdoch61f157c2016-09-16 13:49:30 +01001// Copyright 2016 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Flags: --ignition
6
7function foo() {
8 if (this.Worker) {
9 function __f_0() { this.s = a; }
10 function __f_1() {
11 this.l = __f_0;
12 }
13
14 with ( 'source' , Object ) throw function __f_0(__f_0) {
15 return Worker.__f_0(-2147483648, __f_0);
16 };
17
18 var __v_9 = new Worker('');
19 __f_1 = {s: Math.s, __f_1: true};
20 }
21}
22
23try {
24 foo();
25} catch(e) {
26}