Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: test/mjsunit/regress/regress-599719.js

Issue 2251433002: [wasm] asm.js - Check stdlib.NaN is valid, prepare for the rest. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 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 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 // Flags: --allow-natives-syntax --expose-wasm 5 // Flags: --allow-natives-syntax --expose-wasm
6 6
7 function __f_7() { 7 function __f_7() {
8 %DeoptimizeFunction(__f_5); 8 %DeoptimizeFunction(__f_5);
9 } 9 }
10 function __f_8(global, env) { 10 function __f_8(global, env) {
11 "use asm"; 11 "use asm";
12 var __f_7 = env.__f_7; 12 var __f_7 = env.__f_7;
13 function __f_9(i4, i5) { 13 function __f_9(i4, i5) {
14 i4 = i4 | 0; 14 i4 = i4 | 0;
15 i5 = i5 | 0; 15 i5 = i5 | 0;
16 __f_7(); 16 __f_7();
17 } 17 }
18 return {'__f_9': __f_9} 18 return {'__f_9': __f_9}
19 } 19 }
20 function __f_5() { 20 function __f_5() {
21 var __v_5 = Wasm.instantiateModuleFromAsm( __f_8.toString(), {'__f_7': __f_7}) ; 21 var __v_5 = Wasm.instantiateModuleFromAsm( __f_8.toString(), {}, {'__f_7': __f _7});
22 __v_5.__f_9(0, 0, 0); 22 __v_5.__f_9(0, 0, 0);
23 } 23 }
24 __f_5(); 24 __f_5();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698