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

Issue 961513002: Flesh out dynamic invocation code (Closed)

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

Description

Flesh out dynamic invocation code This gets sunflower working with ignore-types. R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/cf0117eb4b5fc6c2154316b15c538cec61a2a2f3

Patch Set 1 #

Total comments: 19

Patch Set 2 : Rebase #

Patch Set 3 : Address comments and strip out runtime changes #

Patch Set 4 : Flesh out prefix expressions #

Patch Set 5 : Revert runtime changes #

Total comments: 10

Patch Set 6 : Fix ++ and -- #

Total comments: 13

Patch Set 7 : Streamline ++ and -- in fallback case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -27 lines) Patch
M lib/src/codegen/ast_builder.dart View 1 2 3 4 5 4 chunks +28 lines, -6 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 3 4 5 6 6 chunks +77 lines, -13 lines 0 comments Download
M test/codegen/expect/dart/_interceptors.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dart/_js_helper.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dart/async.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dart/convert.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dart/core.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/dart/math.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
vsm
https://codereview.chromium.org/961513002/diff/1/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/961513002/diff/1/lib/runtime/dart_runtime.js#newcode79 lib/runtime/dart_runtime.js:79: case '+': Not sure which way we ought to ...
5 years, 10 months ago (2015-02-26 00:34:00 UTC) #2
Jennifer Messerly
Nice! some initial thoughts https://codereview.chromium.org/961513002/diff/1/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/961513002/diff/1/lib/runtime/dart_runtime.js#newcode25 lib/runtime/dart_runtime.js:25: // ES 6 methods have ...
5 years, 9 months ago (2015-02-26 20:53:17 UTC) #3
vsm
PTAL I've stripped out the runtime changes from this CL. https://codereview.chromium.org/961513002/diff/1/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/961513002/diff/1/lib/runtime/dart_runtime.js#newcode25 ...
5 years, 9 months ago (2015-03-03 21:06:12 UTC) #4
vsm
https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart#newcode1191 lib/src/codegen/js_codegen.dart:1191: if (!_isStateless(expr) && Actually, I think this is unnecessary... ...
5 years, 9 months ago (2015-03-04 00:54:21 UTC) #5
Jennifer Messerly
yeah this is coming along nicely https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart#newcode737 lib/src/codegen/js_codegen.dart:737: // TODO(vsm): Is ...
5 years, 9 months ago (2015-03-04 01:09:31 UTC) #6
Siggi Cherem (dart-lang)
https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart#newcode737 lib/src/codegen/js_codegen.dart:737: // TODO(vsm): Is this the right code if the ...
5 years, 9 months ago (2015-03-04 03:56:07 UTC) #8
vsm
PTAL https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/961513002/diff/80001/lib/src/codegen/js_codegen.dart#newcode1190 lib/src/codegen/js_codegen.dart:1190: // TODO(vsm): If the expression has a side ...
5 years, 9 months ago (2015-03-04 14:59:27 UTC) #9
Jennifer Messerly
This is coming along really nicely! https://codereview.chromium.org/961513002/diff/100001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/961513002/diff/100001/lib/src/codegen/js_codegen.dart#newcode739 lib/src/codegen/js_codegen.dart:739: // TODO(vsm): Is ...
5 years, 9 months ago (2015-03-04 16:03:51 UTC) #10
vsm
PTAL Really like your idea to streamline / specialize pre and post. https://codereview.chromium.org/961513002/diff/100001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart ...
5 years, 9 months ago (2015-03-04 17:55:30 UTC) #11
Jennifer Messerly
LGTM!
5 years, 9 months ago (2015-03-04 17:59:45 UTC) #12
vsm
5 years, 9 months ago (2015-03-04 18:13:34 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
cf0117eb4b5fc6c2154316b15c538cec61a2a2f3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698