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

Issue 604553003: Don't use the size-zero array hack to access variable data in Snapshot. (Closed)

Created:
6 years, 3 months ago by rmacnak
Modified:
6 years, 3 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Don't use the size-zero array hack to access variable data in Snapshot. Avoids C4200 from MSVS "nonstandard extension used : zero-sized array in struct/union". R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=40657

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M runtime/vm/globals.h View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +0 lines, -7 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
rmacnak
6 years, 3 months ago (2014-09-24 20:58:46 UTC) #2
siva
lgtm https://codereview.chromium.org/604553003/diff/1/runtime/vm/snapshot.h File runtime/vm/snapshot.h (right): https://codereview.chromium.org/604553003/diff/1/runtime/vm/snapshot.h#newcode177 runtime/vm/snapshot.h:177: const uint8_t* content() const { OPEN_ARRAY_START(uint8_t, uint8_t); } ...
6 years, 3 months ago (2014-09-24 22:02:53 UTC) #3
rmacnak
https://codereview.chromium.org/604553003/diff/1/runtime/vm/snapshot.h File runtime/vm/snapshot.h (right): https://codereview.chromium.org/604553003/diff/1/runtime/vm/snapshot.h#newcode177 runtime/vm/snapshot.h:177: const uint8_t* content() const { OPEN_ARRAY_START(uint8_t, uint8_t); } On ...
6 years, 3 months ago (2014-09-24 22:38:08 UTC) #4
rmacnak
6 years, 3 months ago (2014-09-24 22:51:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 40657 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698