Chromium Code Reviews

Unified Diff: src/isolate.h

Issue 6862005: Initialize ThreadLocalTop. (Closed)
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/top.cc » ('j') | src/top.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 01b721dc269048ae134148e21120532c1e7f8dcb..35ffcb4445cf594546b62f12bac74a7afb3025b1 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -185,6 +185,10 @@ class ThreadId {
class ThreadLocalTop BASE_EMBEDDED {
public:
+ // Does early low-level initialization that does not depend on the
+ // isolate being present.
+ ThreadLocalTop();
+
// Initialize the thread data.
void Initialize();
@@ -264,6 +268,8 @@ class ThreadLocalTop BASE_EMBEDDED {
v8::FailedAccessCheckCallback failed_access_check_callback_;
private:
+ void InitializeInternal();
+
Address try_catch_handler_address_;
};
« no previous file with comments | « no previous file | src/top.cc » ('j') | src/top.cc » ('J')

Powered by Google App Engine