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

Unified Diff: test/cctest/wasm/test-wasm-breakpoints.cc

Issue 2630553002: [wasm] Enforce that function bodies end with the \"end\" opcode. (Closed)
Patch Set: Collapse some tests together 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 | « test/cctest/wasm/test-run-wasm-module.cc ('k') | test/cctest/wasm/wasm-run-utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/test-wasm-breakpoints.cc
diff --git a/test/cctest/wasm/test-wasm-breakpoints.cc b/test/cctest/wasm/test-wasm-breakpoints.cc
index 81bc632e44f1dc5546aa797db85fabef7a6cc549..d2374a44c02c99ff16091d62bd42c1f54ee7b39d 100644
--- a/test/cctest/wasm/test-wasm-breakpoints.cc
+++ b/test/cctest/wasm/test-wasm-breakpoints.cc
@@ -60,11 +60,11 @@ TEST(CollectPossibleBreakpoints) {
Handle<WasmInstanceObject> instance = runner.module().instance_object();
std::vector<debug::Location> locations;
CheckLocations(instance->compiled_module(), {0, 0}, {1, 0},
- {{0, 1}, {0, 2}, {0, 4}, {0, 6}});
+ {{0, 1}, {0, 2}, {0, 4}, {0, 6}, {0, 7}});
CheckLocations(instance->compiled_module(), {0, 2}, {0, 4}, {{0, 2}});
CheckLocations(instance->compiled_module(), {0, 2}, {0, 5}, {{0, 2}, {0, 4}});
- CheckLocations(instance->compiled_module(), {0, 6}, {0, 7}, {{0, 6}});
- CheckLocations(instance->compiled_module(), {0, 6}, {1, 0}, {{0, 6}});
- CheckLocations(instance->compiled_module(), {0, 7}, {1, 0}, {});
- CheckLocationsFail(instance->compiled_module(), {0, 8}, {1, 0});
+ CheckLocations(instance->compiled_module(), {0, 7}, {0, 8}, {{0, 7}});
+ CheckLocations(instance->compiled_module(), {0, 7}, {1, 0}, {{0, 7}});
+ CheckLocations(instance->compiled_module(), {0, 8}, {1, 0}, {});
+ CheckLocationsFail(instance->compiled_module(), {0, 9}, {1, 0});
}
« no previous file with comments | « test/cctest/wasm/test-run-wasm-module.cc ('k') | test/cctest/wasm/wasm-run-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698