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

Unified Diff: test/mjsunit/wasm/asm-wasm-deopt.js

Issue 2264913002: [wasm] asm.js - Remove Wasm.instantiateModuleFromAsm, use asm.js directly. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/wasm/asm-wasm-copy.js ('k') | test/mjsunit/wasm/asm-wasm-f32.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/asm-wasm-deopt.js
diff --git a/test/mjsunit/wasm/asm-wasm-deopt.js b/test/mjsunit/wasm/asm-wasm-deopt.js
index 66c66d384af605a97c150c5949b08fd49bb31d68..460894ea5e22aef7ed19fc5bd3b83fe29965b6c8 100644
--- a/test/mjsunit/wasm/asm-wasm-deopt.js
+++ b/test/mjsunit/wasm/asm-wasm-deopt.js
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --expose-wasm
-// Flags: --allow-natives-syntax
+// Flags: --validate-asm --allow-natives-syntax
(function TestDeoptimizeArgMismatch() {
function deopt() {
@@ -21,8 +20,7 @@
return {'_main': _main}
}
function test() {
- var wasm = Wasm.instantiateModuleFromAsm(
- Module.toString(), null, {'deopt': deopt});
+ var wasm = Module(null, {'deopt': deopt});
wasm._main(0, 0, 0);
}
test();
« no previous file with comments | « test/mjsunit/wasm/asm-wasm-copy.js ('k') | test/mjsunit/wasm/asm-wasm-f32.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698