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

Unified Diff: src/handles.h

Issue 10698031: Revert the change adding CompilationHandleScope. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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/compiler.cc ('k') | src/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/handles.h
diff --git a/src/handles.h b/src/handles.h
index aca869026e6ff5b651efd61f0aaeb1441714ad6a..960696b5fb81f705f2128b5586fef44ca0c8e7fb 100644
--- a/src/handles.h
+++ b/src/handles.h
@@ -95,9 +95,6 @@ class Handle {
};
-class HandleScopeImplementer;
-
-
// A stack-allocated class that governs a number of local handles.
// After a handle scope has been created, all local handles will be
// allocated within that handle scope until either the handle scope is
@@ -160,37 +157,10 @@ class HandleScope {
static void ZapRange(internal::Object** start, internal::Object** end);
friend class v8::HandleScope;
- friend class v8::internal::HandleScopeImplementer;
friend class v8::ImplementationUtilities;
};
-class DeferredHandles;
-
-
-class DeferredHandleScope {
- public:
- explicit DeferredHandleScope(Isolate* isolate);
- // The DeferredHandles object returned stores the Handles created
- // since the creation of this DeferredHandleScope. The Handles are
- // alive as long as the DeferredHandles object is alive.
- DeferredHandles* Detach();
- ~DeferredHandleScope();
-
- private:
- Object** prev_limit_;
- Object** prev_next_;
- HandleScopeImplementer* impl_;
-
-#ifdef DEBUG
- bool handles_detached_;
- int prev_level_;
-#endif
-
- friend class HandleScopeImplementer;
-};
-
-
// ----------------------------------------------------------------------------
// Handle operations.
// They might invoke garbage collection. The result is an handle to
« no previous file with comments | « src/compiler.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698