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

Unified Diff: src/isolate.h

Issue 2801073006: Decouple root visitors from object visitors. (Closed)
Patch Set: rebase Created 3 years, 8 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 974584a92895ff9c06c249b700982b70827e8d9b..31cd2a6497b71f19dbbaec0d97c3e3ddd6a68d67 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -74,6 +74,7 @@ class Logger;
class MaterializedObjectStore;
class OptimizingCompileDispatcher;
class RegExpStack;
+class RootVisitor;
class RuntimeProfiler;
class SaveContext;
class SetupIsolateDelegate;
@@ -797,9 +798,9 @@ class Isolate {
void InvokeApiInterruptCallbacks();
// Administration
- void Iterate(ObjectVisitor* v);
- void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
- char* Iterate(ObjectVisitor* v, char* t);
+ void Iterate(RootVisitor* v);
+ void Iterate(RootVisitor* v, ThreadLocalTop* t);
+ char* Iterate(RootVisitor* v, char* t);
void IterateThread(ThreadVisitor* v, char* t);
// Returns the current native context.
@@ -1059,7 +1060,7 @@ class Isolate {
AccessCompilerData* access_compiler_data() { return access_compiler_data_; }
- void IterateDeferredHandles(ObjectVisitor* visitor);
+ void IterateDeferredHandles(RootVisitor* visitor);
void LinkDeferredHandles(DeferredHandles* deferred_handles);
void UnlinkDeferredHandles(DeferredHandles* deferred_handles);
« src/heap/mark-compact.cc ('K') | « src/interpreter/interpreter.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698