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

Unified Diff: Source/platform/heap/InlinedGlobalMarkingVisitor.h

Issue 824513004: ASSERT that Visitor::mark is only called when inGC() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: m_visitor Created 5 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
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/InlinedGlobalMarkingVisitor.h
diff --git a/Source/platform/heap/InlinedGlobalMarkingVisitor.h b/Source/platform/heap/InlinedGlobalMarkingVisitor.h
index b3708e87f2c4b39023405ffd227ee9099c8af0d8..8d96d49ceb9f99a5402f3b6dc2e3e853a64099ec 100644
--- a/Source/platform/heap/InlinedGlobalMarkingVisitor.h
+++ b/Source/platform/heap/InlinedGlobalMarkingVisitor.h
@@ -80,6 +80,14 @@ private:
return *static_cast<InlinedGlobalMarkingVisitor*>(helper);
}
+#if ENABLE(ASSERT)
+ inline void checkMarkingAllowed() { m_visitor->checkMarkingAllowed(); }
+ inline void setAllowMarkingForHashTableWeakProcessing(bool allow)
+ {
+ m_visitor->setAllowMarkingForHashTableWeakProcessing(allow);
+ }
+#endif
+
Visitor* m_visitor;
};
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698