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

Issue 949383003: use js_ast instead of strings to generate JS (Closed)

Created:
5 years, 10 months ago by Jennifer Messerly
Modified:
5 years, 9 months ago
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dart-dev-compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 11

Patch Set 2 : add redirecting ctor test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6008 lines, -4213 lines) Patch
M lib/runtime/dart_runtime.js View 3 chunks +7 lines, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 25 chunks +795 lines, -1065 lines 0 comments Download
M lib/src/js/builder.dart View 19 chunks +236 lines, -55 lines 0 comments Download
M lib/src/js/nodes.dart View 20 chunks +285 lines, -15 lines 0 comments Download
M lib/src/js/printer.dart View 17 chunks +247 lines, -27 lines 0 comments Download
M lib/src/js/template.dart View 9 chunks +136 lines, -7 lines 0 comments Download
M test/codegen/constructors.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/codegen/expect/BenchmarkBase/BenchmarkBase.js View 4 chunks +4 lines, -9 lines 0 comments Download
M test/codegen/expect/DeltaBlue/DeltaBlue.js View 20 chunks +87 lines, -61 lines 0 comments Download
M test/codegen/expect/_internal/_internal.js View 61 chunks +379 lines, -226 lines 0 comments Download
M test/codegen/expect/async/async.js View 190 chunks +1111 lines, -866 lines 0 comments Download
M test/codegen/expect/cascade/cascade.js View 3 chunks +11 lines, -19 lines 0 comments Download
M test/codegen/expect/collection/collection.js View 166 chunks +1058 lines, -614 lines 0 comments Download
M test/codegen/expect/constructors/constructors.js View 1 3 chunks +19 lines, -26 lines 0 comments Download
M test/codegen/expect/convert/convert.js View 76 chunks +531 lines, -412 lines 0 comments Download
M test/codegen/expect/core/core.js View 86 chunks +744 lines, -509 lines 0 comments Download
M test/codegen/expect/dom/dom.js View 3 chunks +2 lines, -18 lines 0 comments Download
M test/codegen/expect/fieldtest/fieldtest.js View 4 chunks +23 lines, -19 lines 0 comments Download
M test/codegen/expect/html_input_a/html_input_a.js View 1 chunk +1 line, -2 lines 0 comments Download
M test/codegen/expect/html_input_b/html_input_b.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/html_input_c/html_input_c.js View 1 chunk +5 lines, -4 lines 0 comments Download
M test/codegen/expect/html_input_d/html_input_d.js View 1 chunk +8 lines, -6 lines 0 comments Download
M test/codegen/expect/html_input_e/html_input_e.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/math/math.js View 14 chunks +149 lines, -105 lines 0 comments Download
M test/codegen/expect/methods/methods.js View 1 chunk +22 lines, -17 lines 0 comments Download
M test/codegen/expect/sunflower/sunflower.js View 5 chunks +20 lines, -15 lines 0 comments Download
M test/codegen/expect/typed_data/typed_data.js View 5 chunks +124 lines, -113 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
Jennifer Messerly
5 years, 9 months ago (2015-02-25 18:08:33 UTC) #10
vsm
nice! https://codereview.chromium.org/949383003/diff/160001/test/codegen/expect/core/core.js File test/codegen/expect/core/core.js (right): https://codereview.chromium.org/949383003/diff/160001/test/codegen/expect/core/core.js#newcode18 test/codegen/expect/core/core.js:18: class _ListConstructorSentinel extends dynamic { Extends dynamic? https://codereview.chromium.org/949383003/diff/160001/test/codegen/expect/html_input_c/html_input_c.js ...
5 years, 9 months ago (2015-02-25 18:26:34 UTC) #12
Jennifer Messerly
https://codereview.chromium.org/949383003/diff/160001/test/codegen/expect/core/core.js File test/codegen/expect/core/core.js (right): https://codereview.chromium.org/949383003/diff/160001/test/codegen/expect/core/core.js#newcode18 test/codegen/expect/core/core.js:18: class _ListConstructorSentinel extends dynamic { On 2015/02/25 18:26:33, vsm ...
5 years, 9 months ago (2015-02-25 18:33:54 UTC) #13
Jennifer Messerly
here's some context for my previous 2 comments https://codereview.chromium.org/949383003/diff/160001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (left): https://codereview.chromium.org/949383003/diff/160001/lib/src/codegen/js_codegen.dart#oldcode187 lib/src/codegen/js_codegen.dart:187: void ...
5 years, 9 months ago (2015-02-25 18:36:20 UTC) #14
vsm
lgtm
5 years, 9 months ago (2015-02-25 18:46:51 UTC) #15
Siggi Cherem (dart-lang)
lgtm This looks super super nice! https://codereview.chromium.org/949383003/diff/160001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/949383003/diff/160001/lib/src/codegen/js_codegen.dart#newcode400 lib/src/codegen/js_codegen.dart:400: return js.statement('this.#(#);', [name, ...
5 years, 9 months ago (2015-02-25 18:56:02 UTC) #16
Jennifer Messerly
Thank you! https://codereview.chromium.org/949383003/diff/160001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/949383003/diff/160001/lib/src/codegen/js_codegen.dart#newcode400 lib/src/codegen/js_codegen.dart:400: return js.statement('this.#(#);', [name, node.argumentList.accept(this)]); On 2015/02/25 18:56:02, ...
5 years, 9 months ago (2015-02-25 19:07:51 UTC) #17
Jennifer Messerly
5 years, 9 months ago (2015-02-25 19:14:23 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:180001) manually as
9d2f597d369791df86ed6fc9402464065456f8c4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698