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

Unified Diff: src/isolate.h

Issue 10778036: The deferred handes list belongs to the Isolate and not to the (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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 8b4e12bc0d38aea0acf9498e49258c7c0964995e..e05be9d73c33062c6f9db2163d5a885dbb38c95c 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1055,6 +1055,8 @@ class Isolate {
date_cache_ = date_cache;
}
+ void IterateDeferredHandles(ObjectVisitor* visitor);
+
private:
Isolate();
@@ -1173,6 +1175,8 @@ class Isolate {
// the Error object.
bool IsErrorObject(Handle<Object> obj);
+ void DestroyDeferredHandles(DeferredHandles* deferred);
+
EntryStackItem* entry_stack_;
int stack_trace_nesting_level_;
StringStream* incomplete_message_;
@@ -1278,6 +1282,9 @@ class Isolate {
#undef ISOLATE_FIELD_OFFSET
#endif
+ DeferredHandles* deferred_handles_head_;
+
+ friend class DeferredHandles;
danno 2012/07/18 13:36:17 No friend in this direction.
sanjoy 2012/07/18 14:00:44 Done.
friend class ExecutionAccess;
friend class IsolateInitializer;
friend class ThreadManager;

Powered by Google App Engine
This is Rietveld 408576698