Ben Murdoch | c561043 | 2016-08-08 18:44:38 +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: --allow-natives-syntax --expose-wasm |
| 6 | |
| 7 | function __f_7() { |
| 8 | %DeoptimizeFunction(__f_5); |
| 9 | } |
| 10 | function __f_8(global, env) { |
| 11 | "use asm"; |
| 12 | var __f_7 = env.__f_7; |
| 13 | function __f_9(i4, i5) { |
| 14 | i4 = i4 | 0; |
| 15 | i5 = i5 | 0; |
| 16 | __f_7(); |
| 17 | } |
| 18 | return {'__f_9': __f_9} |
| 19 | } |
| 20 | function __f_5() { |
| 21 | var __v_5 = Wasm.instantiateModuleFromAsm( __f_8.toString(), {'__f_7': __f_7}); |
| 22 | __v_5.__f_9(0, 0, 0); |
| 23 | } |
| 24 | __f_5(); |