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

Issue 17315012: Generate less code when importing dart:mirrors. (Closed)

Created:
7 years, 6 months ago by ahe
Modified:
7 years, 6 months ago
Reviewers:
Johnni Winther, kasperl
CC:
reviews_dartlang.org, ngeoffray, kasperl, Johnni Winther, karlklose
Visibility:
Public.

Description

Generate less code when importing dart:mirrors. BUG=http://dartbug.com/11340 BUG=http://dartbug.com/11218 R=johnniwinther@google.com, kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=24453

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address review comments #

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -93 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart View 2 chunks +13 lines, -6 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/compiler.dart View 7 chunks +12 lines, -19 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/enqueue.dart View 3 chunks +3 lines, -17 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 3 chunks +128 lines, -9 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 15 chunks +37 lines, -35 lines 0 comments Download
M dart/sdk/lib/_internal/lib/js_mirrors.dart View 4 chunks +12 lines, -3 lines 0 comments Download
M dart/sdk/lib/_internal/lib/js_names.dart View 3 chunks +13 lines, -4 lines 0 comments Download
M dart/tests/compiler/dart2js/mirror_tree_shaking_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ahe
This fixes 11218 (JS-interop example produces > 670kb .js file), and it turns out that ...
7 years, 6 months ago (2013-06-19 20:52:36 UTC) #1
kasperl
LGTM. Is there any way we can test this? https://codereview.chromium.org/17315012/diff/4001/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/17315012/diff/4001/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode164 dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:164: ...
7 years, 6 months ago (2013-06-20 07:16:46 UTC) #2
Johnni Winther
lgtm https://codereview.chromium.org/17315012/diff/4001/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/17315012/diff/4001/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode170 dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:170: final List<List> metadataInstantiatedClasses = <List>[]; Add a comment ...
7 years, 6 months ago (2013-06-20 10:17:02 UTC) #3
ahe
I've extended mirror_tree_shaking_test.dart to test that metadata isn't retained. I'll create a separate CL to ...
7 years, 6 months ago (2013-06-21 12:24:39 UTC) #4
ahe
7 years, 6 months ago (2013-06-26 07:10:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r24453 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698