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

Issue 19235015: Implement metadata as an internal native. Be honest about which mirrors don't yet support metadata … (Closed)

Created:
7 years, 5 months ago by rmacnak
Modified:
7 years, 5 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, ahe, Michael Lippautz (Google)
Visibility:
Public.

Description

Implement metadata as an internal native. Be honest about which mirrors don't yet support metadata introspection. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=25126

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -111 lines) Patch
M runtime/lib/mirrors.cc View 1 2 9 chunks +20 lines, -63 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 16 chunks +38 lines, -47 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
rmacnak
https://codereview.chromium.org/19235015/diff/1/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (left): https://codereview.chromium.org/19235015/diff/1/runtime/lib/mirrors_impl.dart#oldcode73 runtime/lib/mirrors_impl.dart:73: List<InstanceMirror> _metadata(mirror) This annotation is incorrect. The native answered ...
7 years, 5 months ago (2013-07-16 21:11:14 UTC) #1
rmacnak
The API version of metadata was the last user of VMReference.
7 years, 5 months ago (2013-07-16 21:52:59 UTC) #2
ahe
DBC https://codereview.chromium.org/19235015/diff/6001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/19235015/diff/6001/runtime/lib/mirrors_impl.dart#newcode569 runtime/lib/mirrors_impl.dart:569: List<InstanceMirror> get metadata => _metadata(_reflectee).map(reflect).toList(); Long line. https://codereview.chromium.org/19235015/diff/6001/runtime/lib/mirrors_impl.dart#newcode832 ...
7 years, 5 months ago (2013-07-17 13:03:39 UTC) #3
rmacnak
On 2013/07/17 13:03:39, ahe wrote: > DBC > > https://codereview.chromium.org/19235015/diff/6001/runtime/lib/mirrors_impl.dart > File runtime/lib/mirrors_impl.dart (right): > ...
7 years, 5 months ago (2013-07-17 17:44:12 UTC) #4
rmacnak
DI benchmark Base: 150 ms Change: 138 ms Minor improvement from not managing the VMReferences. ...
7 years, 5 months ago (2013-07-17 20:19:37 UTC) #5
siva
lgtm
7 years, 5 months ago (2013-07-17 21:16:50 UTC) #6
rmacnak
7 years, 5 months ago (2013-07-17 21:50:58 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r25126 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698