Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index d008b265a6ada80622d0dec4dc28e5790f2d747f..6d35c51830795c204d86d6b0d358666869a1a711 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -1122,9 +1122,12 @@ class Isolate { |
int GetNextUniqueSharedFunctionInfoId() { return next_unique_sfi_id_++; } |
#endif |
- Address promise_hook_address() { |
- return reinterpret_cast<Address>(&promise_hook_); |
+ Address promise_hook_or_debug_is_active_address() { |
+ return reinterpret_cast<Address>(&promise_hook_or_debug_is_active_); |
} |
+ |
+ void DebugStateUpdated(); |
+ |
void SetPromiseHook(PromiseHook hook); |
void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, |
Handle<Object> parent); |
@@ -1370,6 +1373,7 @@ class Isolate { |
AccessCompilerData* access_compiler_data_; |
base::RandomNumberGenerator* random_number_generator_; |
base::AtomicValue<RAILMode> rail_mode_; |
+ bool promise_hook_or_debug_is_active_; |
PromiseHook promise_hook_; |
base::Mutex rail_mutex_; |
double load_start_time_ms_; |