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

Issue 824853003: [BlinkGCPlugin] Allow tracing member in traceImpl. (Closed)

Created:
5 years, 12 months ago by kouhei (in TOK)
Modified:
5 years, 12 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -10 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 1 2 5 chunks +31 lines, -1 line 0 comments Download
M tools/clang/blink_gc_plugin/Config.h View 1 2 3 chunks +45 lines, -10 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/traceimpl.h View 1 chunk +41 lines, -0 lines 0 comments Download
A tools/clang/blink_gc_plugin/tests/traceimpl.cpp View 1 chunk +17 lines, -0 lines 0 comments Download
A + tools/clang/blink_gc_plugin/tests/traceimpl.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
kouhei (in TOK)
5 years, 12 months ago (2014-12-24 05:26:52 UTC) #2
kouhei (in TOK)
https://codereview.chromium.org/824853003/diff/20001/tools/clang/blink_gc_plugin/Config.h File tools/clang/blink_gc_plugin/Config.h (right): https://codereview.chromium.org/824853003/diff/20001/tools/clang/blink_gc_plugin/Config.h#newcode206 tools/clang/blink_gc_plugin/Config.h:206: using namespace llvm; FIXME: remove these.
5 years, 12 months ago (2014-12-24 05:53:19 UTC) #3
Yuta Kitamura
lgtm with nits https://codereview.chromium.org/824853003/diff/20001/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp File tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp (right): https://codereview.chromium.org/824853003/diff/20001/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp#newcode1332 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp:1332: // traceImplmethod. nit: space between "traceImpl" ...
5 years, 12 months ago (2014-12-24 06:31:18 UTC) #5
haraken
LGTM
5 years, 12 months ago (2014-12-24 06:33:29 UTC) #6
kouhei (in TOK)
https://codereview.chromium.org/824853003/diff/20001/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp File tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp (right): https://codereview.chromium.org/824853003/diff/20001/tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp#newcode1332 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp:1332: // traceImplmethod. On 2014/12/24 06:31:18, Yuta Kitamura wrote: > ...
5 years, 12 months ago (2014-12-24 09:03:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/824853003/40001
5 years, 12 months ago (2014-12-24 09:03:46 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 12 months ago (2014-12-24 09:44:18 UTC) #10
commit-bot: I haz the power
5 years, 12 months ago (2014-12-24 09:46:00 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fa20d4c4ceaa68c1a45529ebc34375934afbd434
Cr-Commit-Position: refs/heads/master@{#309627}

Powered by Google App Engine
This is Rietveld 408576698