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

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

Issue 2591653002: [wasm] Introduce WasmSharedModuleData and refactor other objects (Closed)
Patch Set: Fix SLOW_DCHECK Created 4 years 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 23226348c6f0f5735003469ee77f6a21dfe40cb4..81bc632e44f1dc5546aa797db85fabef7a6cc549 100644
--- a/test/cctest/wasm/test-wasm-breakpoints.cc
+++ b/test/cctest/wasm/test-wasm-breakpoints.cc
@@ -59,13 +59,12 @@ TEST(CollectPossibleBreakpoints) {
Handle<WasmInstanceObject> instance = runner.module().instance_object();
std::vector<debug::Location> locations;
- CheckLocations(instance->get_compiled_module(), {0, 0}, {1, 0},
+ CheckLocations(instance->compiled_module(), {0, 0}, {1, 0},
{{0, 1}, {0, 2}, {0, 4}, {0, 6}});
- CheckLocations(instance->get_compiled_module(), {0, 2}, {0, 4}, {{0, 2}});
- CheckLocations(instance->get_compiled_module(), {0, 2}, {0, 5},
- {{0, 2}, {0, 4}});
- CheckLocations(instance->get_compiled_module(), {0, 6}, {0, 7}, {{0, 6}});
- CheckLocations(instance->get_compiled_module(), {0, 6}, {1, 0}, {{0, 6}});
- CheckLocations(instance->get_compiled_module(), {0, 7}, {1, 0}, {});
- CheckLocationsFail(instance->get_compiled_module(), {0, 8}, {1, 0});
+ 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});
}
« 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