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

Issue 22902002: Ensure the classes void and dynamic have empty arrays for fields, functions, etc. Move their Types … (Closed)

Created:
7 years, 4 months ago by rmacnak
Modified:
7 years, 4 months ago
Reviewers:
regis, siva, Ivan Posva
CC:
reviews_dartlang.org, Michael Lippautz (Google)
Visibility:
Public.

Description

Ensure the classes void and dynamic have empty arrays for fields, functions, etc. Move their Types to the VM isolate, and as a side-effect they are now canonicalized. BUG=http://dartbug.com/12071 BUG=http://dartbug.com/12246 R=asiva@google.com, iposva@google.com, regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=26043

Patch Set 1 : #

Total comments: 3

Patch Set 2 : remove unnecessary handle #

Patch Set 3 : remove unnecessary handle #

Patch Set 4 : mark dart2js failure #

Patch Set 5 : remove redudant mirror asserts, fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -65 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 2 chunks +0 lines, -9 lines 0 comments Download
M runtime/vm/object.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 11 chunks +33 lines, -36 lines 0 comments Download
M runtime/vm/object_store.h View 2 chunks +0 lines, -12 lines 0 comments Download
M runtime/vm/object_store.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/object_test.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 4 chunks +18 lines, -6 lines 0 comments Download
M tests/language/dynamic_test.dart View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rmacnak
7 years, 4 months ago (2013-08-12 19:51:41 UTC) #1
regis
LGTM https://codereview.chromium.org/22902002/diff/3002/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/22902002/diff/3002/runtime/vm/object.cc#newcode579 runtime/vm/object.cc:579: dynamic_type_ = type.raw(); Do you need the type ...
7 years, 4 months ago (2013-08-12 21:16:22 UTC) #2
Ivan Posva
LGTM -ip
7 years, 4 months ago (2013-08-12 21:42:25 UTC) #3
rmacnak
https://codereview.chromium.org/22902002/diff/3002/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/22902002/diff/3002/runtime/vm/object.cc#newcode579 runtime/vm/object.cc:579: dynamic_type_ = type.raw(); On 2013/08/12 21:16:22, regis wrote: > ...
7 years, 4 months ago (2013-08-12 22:14:43 UTC) #4
rmacnak
Mark dart2js as failing dynamic_test.
7 years, 4 months ago (2013-08-12 22:53:12 UTC) #5
regis
LGTM
7 years, 4 months ago (2013-08-12 23:01:14 UTC) #6
siva
You had some null checks in the mirrors code to deal with dynamic/void class etc. ...
7 years, 4 months ago (2013-08-12 23:50:53 UTC) #7
rmacnak
Remove redundant non-null array asserts in mirrors. Fix copy-paste error in test.
7 years, 4 months ago (2013-08-12 23:56:24 UTC) #8
siva
lgtm
7 years, 4 months ago (2013-08-13 00:10:14 UTC) #9
rmacnak
7 years, 4 months ago (2013-08-13 00:11:51 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r26043 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698