OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 function __f_1() { | 5 if (this.Worker) { |
6 onmessage = function() {} | 6 function __f_1() { |
| 7 onmessage = function() {} |
| 8 } |
| 9 function __f_0(byteLength) { |
| 10 var __v_1 = new ArrayBuffer(byteLength); |
| 11 var __v_5 = new Uint32Array(__v_1); |
| 12 return __v_5; |
| 13 } |
| 14 var __v_6 = new Worker(__f_1); |
| 15 var __v_3 = __f_0(16); |
| 16 __v_6.postMessage(__v_3); |
7 } | 17 } |
8 function __f_0(byteLength) { | |
9 var __v_1 = new ArrayBuffer(byteLength); | |
10 var __v_5 = new Uint32Array(__v_1); | |
11 return __v_5; | |
12 } | |
13 var __v_6 = new Worker(__f_1); | |
14 var __v_3 = __f_0(16); | |
15 __v_6.postMessage(__v_3); | |
OLD | NEW |