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

Unified Diff: test/cctest/wasm/test-run-wasm-64.cc

Issue 2644603004: [wasm] Check for replacements of IndexNodes in the Int64Lowering. (Closed)
Patch Set: Remove unused variable. Created 3 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/compiler/int64-lowering.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/test-run-wasm-64.cc
diff --git a/test/cctest/wasm/test-run-wasm-64.cc b/test/cctest/wasm/test-run-wasm-64.cc
index e28273d3bed2617a021fc9b9e50dba1a19448d4d..f4ec0dd662d3622baebf1f9176661d23a2c08743 100644
--- a/test/cctest/wasm/test-run-wasm-64.cc
+++ b/test/cctest/wasm/test-run-wasm-64.cc
@@ -1622,3 +1622,19 @@ WASM_EXEC_TEST(MixedCall_i64_0) { Run_WasmMixedCall_N(execution_mode, 0); }
WASM_EXEC_TEST(MixedCall_i64_1) { Run_WasmMixedCall_N(execution_mode, 1); }
WASM_EXEC_TEST(MixedCall_i64_2) { Run_WasmMixedCall_N(execution_mode, 2); }
WASM_EXEC_TEST(MixedCall_i64_3) { Run_WasmMixedCall_N(execution_mode, 3); }
+
+WASM_EXEC_TEST(Regress5874) {
+ REQUIRE(I32ConvertI64);
+ REQUIRE(I64LoadStore);
+ REQUIRE(I64Const);
+ WasmRunner<int32_t> r(execution_mode);
+ r.module().AddMemoryElems<int64_t>(8);
+
+ BUILD(r, kExprI64Const, 0x00, // --
+ kExprI32ConvertI64, // --
+ kExprI64Const, 0x00, // --
+ kExprI64StoreMem, 0x03, 0x00, // --
+ kExprI32Const, 0x00); // --
+
+ r.Call();
+}
« no previous file with comments | « src/compiler/int64-lowering.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698