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

Issue 18473005: Add a MirrorReference reflectee to MethodMirrors. Name getter now refers to (Closed)

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

Description

Add a MirrorReference reflectee to MethodMirrors. Name getter now refers to internal function object, providing a name for for all cases and not only for the ones a name has been provided in the constructor. Fixes http://dartbug.com/6335 R=asiva@google.com, rmacnak@google.com Committed: https://code.google.com/p/dart/source/detail?r=24872

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -10 lines) Patch
M runtime/lib/mirrors.cc View 1 7 chunks +12 lines, -6 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 3 chunks +14 lines, -4 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/mirrors/method_mirror_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Michael Lippautz (Google)
7 years, 5 months ago (2013-07-09 18:06:12 UTC) #1
rmacnak
LGTM with comment https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc#newcode1087 runtime/lib/mirrors.cc:1087: // TODO(turnidge): Why not use the ...
7 years, 5 months ago (2013-07-09 22:27:46 UTC) #2
siva
https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc#newcode1437 runtime/lib/mirrors.cc:1437: } I think it is possible to abstract this ...
7 years, 5 months ago (2013-07-10 00:09:49 UTC) #3
rmacnak
https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc#newcode1437 runtime/lib/mirrors.cc:1437: } On 2013/07/10 00:09:49, siva wrote: > I think ...
7 years, 5 months ago (2013-07-10 00:28:58 UTC) #4
Michael Lippautz (Google)
See Ryan's remarks for the other comments. https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc#newcode1439 runtime/lib/mirrors.cc:1439: On 2013/07/10 ...
7 years, 5 months ago (2013-07-10 00:30:41 UTC) #5
siva
LGTM, we can do the abstractions in a new CL. https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/18473005/diff/1/runtime/lib/mirrors.cc#newcode1437 ...
7 years, 5 months ago (2013-07-10 01:04:19 UTC) #6
Michael Lippautz (Google)
7 years, 5 months ago (2013-07-10 01:08:26 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r24872 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698