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

Unified Diff: src/isolate.h

Issue 2476001: Current HandleScope moving to Isolate. (Closed)
Patch Set: removed unnesessary initializing constand, using existing Initialize() for handle scope data. Created 10 years, 7 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
« no previous file with comments | « src/handles-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »
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 117b4979da68c3861a47ef6104a96d94528fff6c..13efe9d6b83b6f41620c959b03d759cebca6c11e 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -28,6 +28,7 @@
#ifndef V8_ISOLATE_H_
#define V8_ISOLATE_H_
+#include "apiutils.h"
#include "heap.h"
namespace v8 {
@@ -58,7 +59,10 @@ class Isolate {
Bootstrapper* bootstrapper() { return bootstrapper_; }
Heap* heap() { return &heap_; }
StubCache* stub_cache() { return stub_cache_; }
-
+ v8::ImplementationUtilities::HandleScopeData* handle_scope_data() {
+ return &handle_scope_data_;
+ }
+
private:
Isolate();
@@ -69,6 +73,7 @@ class Isolate {
Bootstrapper* bootstrapper_;
Heap heap_;
StubCache* stub_cache_;
+ v8::ImplementationUtilities::HandleScopeData handle_scope_data_;
DISALLOW_COPY_AND_ASSIGN(Isolate);
};
« no previous file with comments | « src/handles-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698