Description[BlinkGCPlugin] Allow tracing member in traceImpl.
Blink r187605 https://crrev.com/804873004 introduced DEFINE_TRACE macros,
which dedupes trace(Visitor*) and trace(InlinedGlobalMarkingVisitor) by
using template method:
template<typename VisitorDispatcher> void traceImpl(VisitorDispatcher);
This CL updates the GC plugin, so that it:
- recognizes traceImpl method, and mark trace(field) calls made inside.
- recognizes trace method that just delegate to traceImpl, and skip its processing.
- e.g.) void trace(Visitor* visitor) { traceImpl(visitor); }
BUG=420515
Committed: https://crrev.com/fa20d4c4ceaa68c1a45529ebc34375934afbd434
Cr-Commit-Position: refs/heads/master@{#309627}
Patch Set 1 #Patch Set 2 : fix segv #
Total comments: 8
Patch Set 3 : yutak review #
Messages
Total messages: 11 (3 generated)
|