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

Issue 1229913003: dart2js: Add boilerplate strings for the startup-emitter. (Closed)

Created:
5 years, 5 months ago by floitsch
Modified:
5 years, 4 months ago
CC:
reviews_dartlang.org, Siggi Cherem (dart-lang)
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: Add boilerplate strings for the startup-emitter. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/79645ebd9de14ab7c5c1f6192c5dad4df6814042

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix typo and remove tear-off code (for now). #

Patch Set 3 : reupload #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -0 lines) Patch
M pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart View 1 2 1 chunk +235 lines, -0 lines 2 comments Download

Messages

Total messages: 11 (2 generated)
floitsch
ccing Siggi, since this is the real meat of the startup-emitter.
5 years, 5 months ago (2015-07-09 16:34:50 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1229913003/diff/1/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart File pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart (right): https://codereview.chromium.org/1229913003/diff/1/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart#newcode72 pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart:72: // the first access, it is initialize with the ...
5 years, 5 months ago (2015-07-09 23:54:07 UTC) #4
floitsch
PTAL. I have removed the tear-off code for now. There is a separate CL for ...
5 years, 5 months ago (2015-07-10 17:13:59 UTC) #5
Siggi Cherem (dart-lang)
lgtm, but I'd wait for Stephan's reply as he is more familiar with the rest ...
5 years, 5 months ago (2015-07-10 17:24:36 UTC) #6
Siggi Cherem (dart-lang)
(it seems this was next in the list of changes. feel free to submit, I ...
5 years, 5 months ago (2015-07-14 15:57:25 UTC) #7
floitsch
https://codereview.chromium.org/1229913003/diff/40001/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart File pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart (right): https://codereview.chromium.org/1229913003/diff/40001/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart#newcode35 pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart:35: const String mainBoilerplate = ''' On 2015/07/14 15:57:25, Siggi ...
5 years, 5 months ago (2015-07-17 17:59:32 UTC) #8
floitsch
Committed patchset #3 (id:40001) manually as 79645ebd9de14ab7c5c1f6192c5dad4df6814042 (presubmit successful).
5 years, 5 months ago (2015-07-17 18:00:07 UTC) #9
herhut
https://codereview.chromium.org/1229913003/diff/1/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart File pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart (right): https://codereview.chromium.org/1229913003/diff/1/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart#newcode34 pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart:34: // names we want. Furthermore, the minifier reduces the ...
5 years, 4 months ago (2015-07-27 11:02:22 UTC) #10
floitsch
5 years, 4 months ago (2015-07-29 15:26:24 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/1229913003/diff/1/pkg/compiler/lib/src/js_emi...
File pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart
(right):

https://codereview.chromium.org/1229913003/diff/1/pkg/compiler/lib/src/js_emi...
pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart:34: //
names we want. Furthermore, the minifier reduces the names of the variables.
On 2015/07/27 11:02:22, herhut wrote:
> To be uber precise here, it is the pretty printer in the js ast package that
> does variable minification. Unfortunately, that is independent of the namer,
so
> renamed variables can clash with globals unless they are in a holder. I am not
> even sure whether variable names might not shadow the holders themselves. 

Updated the comment (new CL coming).
Since the holders are locals too, the pretty-printer won't shadow them.

Powered by Google App Engine
This is Rietveld 408576698