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

Unified Diff: src/wasm/wasm-module.cc

Issue 2626253002: [wasm] Set and store breakpoints in wasm (Closed)
Patch Set: Remove CheckBreakPoints methods 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/objects.cc ('k') | src/wasm/wasm-objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wasm/wasm-module.cc
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc
index d043f69f86ad8ca3b7818b13aaee3f1d004a2080..947082864371eee007e17837897cdf7fcdf6bc96 100644
--- a/src/wasm/wasm-module.cc
+++ b/src/wasm/wasm-module.cc
@@ -1430,6 +1430,13 @@ class WasmInstanceBuilder {
v8::WeakCallbackType::kFinalizer);
}
}
+
+ //--------------------------------------------------------------------------
+ // Set all breakpoints that were set on the shared module.
+ //--------------------------------------------------------------------------
+ WasmSharedModuleData::SetBreakpointsOnNewInstance(
+ compiled_module_->shared(), instance);
+
//--------------------------------------------------------------------------
// Run the start function if one was specified.
//--------------------------------------------------------------------------
« no previous file with comments | « src/objects.cc ('k') | src/wasm/wasm-objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698