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

Unified Diff: runtime/vm/gc_marker.h

Issue 9148051: Provide API support for weak handles and post-mortem finalization. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: a better strategy for protected handle checks Created 8 years, 11 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: runtime/vm/gc_marker.h
diff --git a/runtime/vm/gc_marker.h b/runtime/vm/gc_marker.h
index 6ff5ae3c9c5b24ab11ea9bdb8cfebedb7f927f86..007b93367f23e7b91367e1d8cc0206bb6979517f 100644
--- a/runtime/vm/gc_marker.h
+++ b/runtime/vm/gc_marker.h
@@ -10,6 +10,7 @@
namespace dart {
// Forward declarations.
+class HandleVisitor;
class Heap;
class Isolate;
class MarkingVisitor;
@@ -28,7 +29,7 @@ class GCMarker : public ValueObject {
private:
void Prologue(Isolate* isolate);
void IterateRoots(Isolate* isolate, ObjectPointerVisitor* visitor);
- void IterateWeakRoots(Isolate* isolate, ObjectPointerVisitor* visitor);
+ void IterateWeakRoots(Isolate* isolate, HandleVisitor* visitor);
void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor);
Heap* heap_;

Powered by Google App Engine
This is Rietveld 408576698