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

Issue 206123004: Add checks for stack-allocated types and their uses in fields. (Closed)

Created:
6 years, 9 months ago by zerny-chromium
Modified:
6 years, 9 months ago
CC:
chromium-reviews, oilpan-reviews
Visibility:
Public.

Description

Add checks for stack-allocated types and their uses in fields. - If A derives B, then A is stack allocated iff B is stack allocated. - Fields to stack allocated types can only appear in stack allocated classes. BUG=334149 R=ager@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258346

Patch Set 1 #

Total comments: 4

Patch Set 2 : implicitly inherit stack-allocated prop #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -19 lines) Patch
M tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp View 1 2 11 chunks +42 lines, -4 lines 0 comments Download
M tools/clang/blink_gc_plugin/RecordInfo.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/clang/blink_gc_plugin/RecordInfo.cpp View 1 2 2 chunks +24 lines, -6 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/heap/stubs.h View 1 1 chunk +8 lines, -6 lines 0 comments Download
M tools/clang/blink_gc_plugin/tests/stack_allocated.h View 1 2 chunks +20 lines, -1 line 0 comments Download
M tools/clang/blink_gc_plugin/tests/stack_allocated.cpp View 1 chunk +7 lines, -1 line 0 comments Download
M tools/clang/blink_gc_plugin/tests/stack_allocated.txt View 1 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
zerny-chromium
Blink side change: https://codereview.chromium.org/203963005/ These requirements entail a lot of Blink side changes because all ...
6 years, 9 months ago (2014-03-20 09:57:36 UTC) #1
haraken
On 2014/03/20 09:57:36, zerny-chromium wrote: > Blink side change: https://codereview.chromium.org/203963005/ > > These requirements entail ...
6 years, 9 months ago (2014-03-20 10:22:47 UTC) #2
Mads Ager (chromium)
The code looks good. After talking to Ian off-line we are now leaning towards not ...
6 years, 9 months ago (2014-03-20 10:32:29 UTC) #3
zerny-chromium
On 2014/03/20 10:22:47, haraken wrote: > On 2014/03/20 09:57:36, zerny-chromium wrote: > > Blink side ...
6 years, 9 months ago (2014-03-20 10:34:24 UTC) #4
haraken
> An even less intrusive requirement is that only the top-most class of a > ...
6 years, 9 months ago (2014-03-20 10:36:29 UTC) #5
zerny-chromium
This patch lets derived classes inherit the STACK_ALLOCATED property. PTAL https://codereview.chromium.org/206123004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp File tools/clang/blink_gc_plugin/RecordInfo.cpp (right): https://codereview.chromium.org/206123004/diff/1/tools/clang/blink_gc_plugin/RecordInfo.cpp#newcode20 ...
6 years, 9 months ago (2014-03-20 15:14:20 UTC) #6
Mads Ager (chromium)
LGTM
6 years, 9 months ago (2014-03-20 15:25:59 UTC) #7
zerny-chromium
The CQ bit was checked by zerny@chromium.org
6 years, 9 months ago (2014-03-20 15:37:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zerny@chromium.org/206123004/40001
6 years, 9 months ago (2014-03-20 15:39:01 UTC) #9
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 18:07:51 UTC) #10
Message was sent while issue was closed.
Change committed as 258346

Powered by Google App Engine
This is Rietveld 408576698