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

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

Issue 1584573002: refactor BlockVisitor in asm to wasm and fix tests (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 | « src/wasm/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/asm-wasm.js
diff --git a/test/mjsunit/wasm/asm-wasm.js b/test/mjsunit/wasm/asm-wasm.js
index f3bc78aed1e1bdee733506159a1b673c840cbb71..ef5e0f566e82759ef2ae68210f977a31ece1d853 100644
--- a/test/mjsunit/wasm/asm-wasm.js
+++ b/test/mjsunit/wasm/asm-wasm.js
@@ -15,7 +15,7 @@ function EmptyTest() {
return {caller: caller};
}
-assertEquals(11, WASM.asmCompileRun(EmptyTest.toString()));
+assertEquals(11, _WASMEXP_.asmCompileRun(EmptyTest.toString()));
function IntTest() {
"use asm";
@@ -683,7 +683,7 @@ function TestConditional() {
return {caller:caller};
}
-assertEquals(41, WASM.asmCompileRun(TestConditional.toString()));
+assertEquals(41, _WASMEXP_.asmCompileRun(TestConditional.toString()));
function TestSwitch() {
"use asm"
@@ -710,7 +710,7 @@ function TestSwitch() {
return {caller:caller};
}
-assertEquals(23, WASM.asmCompileRun(TestSwitch.toString()));
+assertEquals(23, _WASMEXP_.asmCompileRun(TestSwitch.toString()));
function TestSwitchFallthrough() {
"use asm"
@@ -731,7 +731,7 @@ function TestSwitchFallthrough() {
return {caller:caller};
}
-assertEquals(42, WASM.asmCompileRun(TestSwitchFallthrough.toString()));
+assertEquals(42, _WASMEXP_.asmCompileRun(TestSwitchFallthrough.toString()));
function TestNestedSwitch() {
"use asm"
@@ -756,4 +756,4 @@ function TestNestedSwitch() {
return {caller:caller};
}
-assertEquals(43, WASM.asmCompileRun(TestNestedSwitch.toString()));
+assertEquals(43, _WASMEXP_.asmCompileRun(TestNestedSwitch.toString()));
« no previous file with comments | « src/wasm/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698