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

Unified Diff: src/global-handles.h

Issue 4888002: [Isolates] Pass isolate to VMState constructor. (Closed)
Patch Set: Created 10 years, 1 month 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/execution.cc ('k') | src/global-handles.cc » ('j') | src/top.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/global-handles.h
diff --git a/src/global-handles.h b/src/global-handles.h
index 8560e93b2af3c553b2ae19b8abfbdf543fd3e64a..d33526dbe043e880eba43c42afd1b3626e99b9b8 100644
--- a/src/global-handles.h
+++ b/src/global-handles.h
@@ -138,11 +138,13 @@ class GlobalHandles {
#endif
class Pool;
private:
- GlobalHandles();
+ explicit GlobalHandles(Isolate* isolate);
// Internal node structure, one for each global handle.
class Node;
+ Isolate* isolate_;
+
// Field always containing the number of weak and near-death handles.
int number_of_weak_handles_;
« no previous file with comments | « src/execution.cc ('k') | src/global-handles.cc » ('j') | src/top.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698