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

Issue 2500283002: Only re-export the main methods. The ddc codegen doesn't depend on any other methods being exported… (Closed)

Created:
4 years, 1 month ago by Jacob
Modified:
4 years, 1 month ago
Reviewers:
vsm, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Only re-export the main methods. The ddc codegen doesn't depend on any other methods being exported and export code for top level fields and all JS interop types was broken. This change reduces code size of a large Angular2 app by 6%. BUG= R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/27287baa576317e8684943c95d0abce4883f9e24

Patch Set 1 #

Total comments: 2

Patch Set 2 : Only re-export the main methods. The ddc codegen doesn't depend on any other methods being exported… #

Patch Set 3 : added updated sdks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -59 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 1 chunk +20 lines, -23 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jacob
Only re-export the main methods. The ddc codegen doesn't depend on any other methods being ...
4 years, 1 month ago (2016-11-15 01:45:28 UTC) #2
vsm
https://codereview.chromium.org/2500283002/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (left): https://codereview.chromium.org/2500283002/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart#oldcode521 pkg/dev_compiler/lib/src/compiler/code_generator.dart:521: // top-level fields, getters, setters need to copy the ...
4 years, 1 month ago (2016-11-15 15:13:21 UTC) #3
vsm
https://codereview.chromium.org/2500283002/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2500283002/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart#newcode523 pkg/dev_compiler/lib/src/compiler/code_generator.dart:523: // We only need to export main as it ...
4 years, 1 month ago (2016-11-15 15:37:10 UTC) #4
Jacob
On 2016/11/15 15:37:10, vsm wrote: > https://codereview.chromium.org/2500283002/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart > File pkg/dev_compiler/lib/src/compiler/code_generator.dart (right): > > https://codereview.chromium.org/2500283002/diff/1/pkg/dev_compiler/lib/src/compiler/code_generator.dart#newcode523 > ...
4 years, 1 month ago (2016-11-15 16:44:13 UTC) #5
vsm
lgtm
4 years, 1 month ago (2016-11-15 16:52:20 UTC) #6
Jacob
4 years, 1 month ago (2016-11-15 17:35:49 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
27287baa576317e8684943c95d0abce4883f9e24 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698