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

Unified Diff: src/isolate.h

Issue 2648873002: [inspector] added creation frame for async call chains for promises (Closed)
Patch Set: fixed usage of external reference 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
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 441d995d69d47cb6921ef2d2756ea2ba1d8ea4a4..bd8ec55f26ee6fefabe7c16d8a287a8f9a18cff9 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1122,6 +1122,12 @@ class Isolate {
int GetNextUniqueSharedFunctionInfoId() { return next_unique_sfi_id_++; }
#endif
+ void DebugStateChanged();
+
+ Address promise_hook_or_debug_is_active_address() {
+ return reinterpret_cast<Address>(&promise_hook_or_debug_is_active_);
+ }
+
Address promise_hook_address() {
return reinterpret_cast<Address>(&promise_hook_);
}
@@ -1367,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_;

Powered by Google App Engine
This is Rietveld 408576698