diff options
Diffstat (limited to 'deps/v8/src/debug/debug.h')
-rw-r--r-- | deps/v8/src/debug/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/debug/debug.h b/deps/v8/src/debug/debug.h index 4bb2008c4d0..a8adb77697f 100644 --- a/deps/v8/src/debug/debug.h +++ b/deps/v8/src/debug/debug.h @@ -248,6 +248,8 @@ class V8_EXPORT_PRIVATE Debug { void RemoveBreakpoint(int id); void RemoveBreakpointForWasmScript(Handle<Script> script, int id); + void RecordWasmScriptWithBreakpoints(Handle<Script> script); + // Find breakpoints from the debug info and the break location and check // whether they are hit. Return an empty handle if not, or a FixedArray with // hit BreakPoint objects. @@ -546,6 +548,9 @@ class V8_EXPORT_PRIVATE Debug { // Storage location for registers when handling debug break calls ThreadLocal thread_local_; + // This is a global handle, lazily initialized. + Handle<WeakArrayList> wasm_scripts_with_breakpoints_; + Isolate* isolate_; friend class Isolate; |