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

Issue 278733003: When mirrors are used with deferred loading we now go through all (Closed)

Created:
6 years, 7 months ago by sigurdm
Modified:
6 years, 7 months ago
Reviewers:
karlklose, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

When mirrors are used with deferred loading we now go through all elements and query compiler.backend.isNeededForReflection for each of them. R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=36092

Patch Set 1 #

Total comments: 7

Patch Set 2 : Avoid querying unresolved elements for isNeededForReflection. #

Patch Set 3 : Handle patch libraries + Adress Karl's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -118 lines) Patch
M sdk/lib/_internal/compiler/implementation/deferred_load.dart View 1 2 5 chunks +61 lines, -107 lines 0 comments Download
M tests/compiler/dart2js/deferred_mirrors_test.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M tests/lib/lib.status View 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/mirrors/deferred_mirrors_metatarget_lib.dart View 1 chunk +22 lines, -0 lines 0 comments Download
A + tests/lib/mirrors/deferred_mirrors_metatarget_test.dart View 1 chunk +7 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sigurdm
6 years, 7 months ago (2014-05-09 11:22:36 UTC) #1
sigurdm
https://codereview.chromium.org/278733003/diff/1/sdk/lib/_internal/compiler/implementation/deferred_load.dart File sdk/lib/_internal/compiler/implementation/deferred_load.dart (left): https://codereview.chromium.org/278733003/diff/1/sdk/lib/_internal/compiler/implementation/deferred_load.dart#oldcode306 sdk/lib/_internal/compiler/implementation/deferred_load.dart:306: ? element.treeElements .treeElements is not always present on a ...
6 years, 7 months ago (2014-05-09 11:27:05 UTC) #2
karlklose
LGTM. https://codereview.chromium.org/278733003/diff/1/sdk/lib/_internal/compiler/implementation/deferred_load.dart File sdk/lib/_internal/compiler/implementation/deferred_load.dart (left): https://codereview.chromium.org/278733003/diff/1/sdk/lib/_internal/compiler/implementation/deferred_load.dart#oldcode306 sdk/lib/_internal/compiler/implementation/deferred_load.dart:306: ? element.treeElements On 2014/05/09 11:27:05, sigurdm wrote: > ...
6 years, 7 months ago (2014-05-12 06:53:12 UTC) #3
sigurdm
Patch set 2 + 3. https://codereview.chromium.org/278733003/diff/1/sdk/lib/_internal/compiler/implementation/deferred_load.dart File sdk/lib/_internal/compiler/implementation/deferred_load.dart (left): https://codereview.chromium.org/278733003/diff/1/sdk/lib/_internal/compiler/implementation/deferred_load.dart#oldcode306 sdk/lib/_internal/compiler/implementation/deferred_load.dart:306: ? element.treeElements On 2014/05/12 ...
6 years, 7 months ago (2014-05-12 12:10:34 UTC) #4
sigurdm
6 years, 7 months ago (2014-05-13 08:29:30 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r36092 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698