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

Issue 16757007: Changes to mirrors in support of metadata access at runtime. Assumes VM changes in flight.… (Closed)

Created:
7 years, 6 months ago by gbracha
Modified:
7 years, 6 months ago
Reviewers:
ahe, hausner, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Changes to mirrors in support of metadata access at runtime. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=24050

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -24 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 5 7 chunks +120 lines, -2 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 4 5 6 chunks +30 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/mirrors/mirrors.dart View 1 8 chunks +20 lines, -12 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
A tests/lib/mirrors/library_metadata_test.dart View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
M tests/lib/mirrors/metadata_test.dart View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
gbracha
This CL is just so this doesn't get missed if I get stuck in Jury ...
7 years, 6 months ago (2013-06-11 01:32:51 UTC) #1
ahe
The description of this CL is: "Proposed changes to mirrors in support of metadata access ...
7 years, 6 months ago (2013-06-11 08:48:10 UTC) #2
hausner
It does not look like this code would compile/run, so I would not check it ...
7 years, 6 months ago (2013-06-11 16:17:13 UTC) #3
hausner
It does not look like this code would compile/run, so I would not check it ...
7 years, 6 months ago (2013-06-11 16:18:04 UTC) #4
ahe
https://codereview.chromium.org/16757007/diff/1/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/16757007/diff/1/runtime/lib/mirrors_impl.dart#newcode74 runtime/lib/mirrors_impl.dart:74: native 'LocalMirrorImpl_metadata'; On 2013/06/11 16:17:13, hausner wrote: > This ...
7 years, 6 months ago (2013-06-11 16:21:22 UTC) #5
gbracha
On 2013/06/11 08:48:10, ahe wrote: > The description of this CL is: "Proposed changes to ...
7 years, 6 months ago (2013-06-12 21:18:58 UTC) #6
gbracha
On 2013/06/11 16:18:04, hausner wrote: > It does not look like this code would compile/run, ...
7 years, 6 months ago (2013-06-12 21:19:48 UTC) #7
gbracha
This builds and passes the tests. I'm not sure if the metadata test is run. ...
7 years, 6 months ago (2013-06-12 21:21:17 UTC) #8
gbracha
Here's a version that actually works, except for metadata on libraries, which the VM does ...
7 years, 6 months ago (2013-06-14 01:30:23 UTC) #9
ahe
Since we're sharing the test, you cannot just comment out the check of library metadata. ...
7 years, 6 months ago (2013-06-14 04:47:27 UTC) #10
Ivan Posva
LGTM with comments addressed. -Ivan https://codereview.chromium.org/16757007/diff/24001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/16757007/diff/24001/runtime/lib/mirrors.cc#newcode185 runtime/lib/mirrors.cc:185: static Dart_Handle UnwrapMirror(Dart_Handle mirror); ...
7 years, 6 months ago (2013-06-14 15:16:48 UTC) #11
gbracha
Ok, all tests now passing. Will commit shortly. There is a new, separate library metadata ...
7 years, 6 months ago (2013-06-14 20:42:46 UTC) #12
gbracha
7 years, 6 months ago (2013-06-14 21:13:05 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 manually as r24050 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698