Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 1 | // 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 | |
| 7 | function 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 | |
| 23 | try { |
| 24 | foo(); |
| 25 | } catch(e) { |
| 26 | } |