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

Issue 20216002: Make ClassMirror.typeVariables lazy and convert dependencies to native code. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Get rid of TypeVariableMirror dependency #

Total comments: 2

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -146 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 5 6 7 8 5 chunks +42 lines, -134 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 4 5 6 7 8 10 chunks +38 lines, -12 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/mirrors/class_mirror_type_variables_test.dart View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Michael Lippautz (Google)
7 years, 5 months ago (2013-07-25 01:01:27 UTC) #1
Michael Lippautz (Google)
Inlined code for TypeVariableMirrors. https://codereview.chromium.org/20216002/diff/3001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/20216002/diff/3001/runtime/lib/mirrors_impl.dart#newcode533 runtime/lib/mirrors_impl.dart:533: Map<Symbol, TypeVariableMirror> get typeVariables { ...
7 years, 5 months ago (2013-07-25 20:17:57 UTC) #2
siva
https://codereview.chromium.org/20216002/diff/3001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/20216002/diff/3001/runtime/lib/mirrors.cc#newcode384 runtime/lib/mirrors.cc:384: } As discussed offline, let us investigate if we ...
7 years, 5 months ago (2013-07-25 22:48:43 UTC) #3
Michael Lippautz (Google)
Moved actual mirror creation to Dart land, to avoid jumping back and forth between native ...
7 years, 5 months ago (2013-07-26 19:59:15 UTC) #4
siva
https://codereview.chromium.org/20216002/diff/10001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/20216002/diff/10001/runtime/lib/mirrors.cc#newcode37 runtime/lib/mirrors.cc:37: #endif // DEBUG Not sure I understand why ThrowInvokeError ...
7 years, 4 months ago (2013-07-26 22:10:34 UTC) #5
Michael Lippautz (Google)
Also fixed handling the case with no type parameters. --- Peter: I added a test ...
7 years, 4 months ago (2013-07-26 23:30:07 UTC) #6
rmacnak
https://codereview.chromium.org/20216002/diff/25001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/20216002/diff/25001/runtime/lib/mirrors.cc#newcode61 runtime/lib/mirrors.cc:61: static Dart_Handle CoreLib() { Dead code. https://codereview.chromium.org/20216002/diff/25001/runtime/lib/mirrors.cc#newcode67 runtime/lib/mirrors.cc:67: static ...
7 years, 4 months ago (2013-07-30 20:20:23 UTC) #7
Michael Lippautz (Google)
https://codereview.chromium.org/20216002/diff/25001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/20216002/diff/25001/runtime/lib/mirrors.cc#newcode61 runtime/lib/mirrors.cc:61: static Dart_Handle CoreLib() { On 2013/07/30 20:20:23, Ryan Macnak ...
7 years, 4 months ago (2013-07-30 20:26:46 UTC) #8
rmacnak
lgtm
7 years, 4 months ago (2013-07-30 20:36:02 UTC) #9
siva
lgtm
7 years, 4 months ago (2013-07-30 20:47:27 UTC) #10
Michael Lippautz (Google)
Committed patchset #9 manually as r25651 (presubmit successful).
7 years, 4 months ago (2013-07-30 22:58:07 UTC) #11
ahe
7 years, 4 months ago (2013-08-06 14:18:23 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698