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

Issue 915533002: Steps towards making dart2js JS AST templates an indepentent library. (Closed)

Created:
5 years, 10 months ago by sra1
Modified:
5 years, 8 months ago
Reviewers:
floitsch, sigurdm
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Steps towards making dart2js JS AST templates an indepentent library. - Removed unused type Blob - Remove use of CodeBuffer, Compiler, SourceInformation - Moved existing code into library js_ast - Added new library js that re-exports js_ast and adds dart2js specific code. The next step is to move the code into its own package under pkg. BUG= R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=43695

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : Address code review comments #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -175 lines) Patch
M pkg/compiler/lib/src/io/source_information.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js/builder.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + pkg/compiler/lib/src/js/characters.dart View 1 2 chunks +2 lines, -28 lines 0 comments Download
M pkg/compiler/lib/src/js/js.dart View 1 2 3 1 chunk +53 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/js/nodes.dart View 1 2 10 chunks +19 lines, -32 lines 0 comments Download
M pkg/compiler/lib/src/js/printer.dart View 1 2 3 4 14 chunks +113 lines, -73 lines 0 comments Download
M pkg/compiler/lib/src/js/rewrite_async.dart View 1 2 chunks +0 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js/template.dart View 1 2 4 chunks +5 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/use_unused_api.dart View 1 2 chunks +9 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/async_await_js_transform_test.dart View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
sra1
This is a work in progress. I will fix the new TODOs before committing.
5 years, 10 months ago (2015-02-10 05:38:58 UTC) #2
sra1
5 years, 10 months ago (2015-02-10 05:39:13 UTC) #4
floitsch
DBC. https://codereview.chromium.org/915533002/diff/1/pkg/compiler/lib/src/js/printer.dart File pkg/compiler/lib/src/js/printer.dart (right): https://codereview.chromium.org/915533002/diff/1/pkg/compiler/lib/src/js/printer.dart#newcode19 pkg/compiler/lib/src/js/printer.dart:19: * The context contains nit: we tend to ...
5 years, 10 months ago (2015-02-10 14:43:52 UTC) #5
sra1
https://chromiumcodereview.appspot.com/915533002/diff/1/pkg/compiler/lib/src/js/printer.dart File pkg/compiler/lib/src/js/printer.dart (right): https://chromiumcodereview.appspot.com/915533002/diff/1/pkg/compiler/lib/src/js/printer.dart#newcode19 pkg/compiler/lib/src/js/printer.dart:19: * The context contains On 2015/02/10 14:43:52, floitsch wrote: ...
5 years, 10 months ago (2015-02-11 00:13:07 UTC) #6
sra1
PTAL. I'd like to land this tomorrow if possible so I can work on getting ...
5 years, 10 months ago (2015-02-11 02:29:55 UTC) #7
floitsch
LGTM with one concern. https://chromiumcodereview.appspot.com/915533002/diff/40001/pkg/compiler/lib/src/js/js.dart File pkg/compiler/lib/src/js/js.dart (right): https://chromiumcodereview.appspot.com/915533002/diff/40001/pkg/compiler/lib/src/js/js.dart#newcode33 pkg/compiler/lib/src/js/js.dart:33: class Dart2JSJavaScriptPrintingContext extends JavaScriptPrintingContext { ...
5 years, 10 months ago (2015-02-11 16:01:13 UTC) #8
sra1
https://chromiumcodereview.appspot.com/915533002/diff/40001/pkg/compiler/lib/src/js/js.dart File pkg/compiler/lib/src/js/js.dart (right): https://chromiumcodereview.appspot.com/915533002/diff/40001/pkg/compiler/lib/src/js/js.dart#newcode33 pkg/compiler/lib/src/js/js.dart:33: class Dart2JSJavaScriptPrintingContext extends JavaScriptPrintingContext { On 2015/02/11 16:01:13, floitsch ...
5 years, 10 months ago (2015-02-11 18:20:19 UTC) #10
sra1
5 years, 10 months ago (2015-02-11 18:25:04 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 43695 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698