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

Issue 2069903002: Partial fix for call methods #542 (Closed)

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

Description

Partial fix for call methods #542 This fixes the generated code to support these. Subtype checks are not fixed yet. R=vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/a8e9f52c5479169e9b1f58ddfe214172aa25dabd

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : merge #

Patch Set 4 : fix comment #

Total comments: 2

Patch Set 5 : fix to not use dcall #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -31 lines) Patch
M lib/runtime/dart_sdk.js View 1 2 2 chunks +12 lines, -2 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 3 4 7 chunks +79 lines, -10 lines 0 comments Download
M test/browser/language_tests.js View 1 2 3 3 chunks +12 lines, -16 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/classes.dart View 1 2 2 chunks +39 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Jennifer Messerly
Some progress towards https://github.com/dart-lang/dev_compiler/issues/542. No promises on performance of these things :)
4 years, 6 months ago (2016-06-14 23:22:11 UTC) #2
Jennifer Messerly
Found a bug -- it seems like "dart.bind" will incorrectly associate a function type with ...
4 years, 6 months ago (2016-06-15 00:25:10 UTC) #3
Jennifer Messerly
On 2016/06/15 00:25:10, John Messerly wrote: > Found a bug -- it seems like "dart.bind" ...
4 years, 6 months ago (2016-06-15 00:31:14 UTC) #4
vsm
lgtm https://codereview.chromium.org/2069903002/diff/20001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2069903002/diff/20001/lib/src/compiler/code_generator.dart#newcode714 lib/src/compiler/code_generator.dart:714: !member.isSetter) { Per spec / VM, 'call' could ...
4 years, 6 months ago (2016-06-15 15:23:25 UTC) #5
Jennifer Messerly
Thanks! https://codereview.chromium.org/2069903002/diff/20001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2069903002/diff/20001/lib/src/compiler/code_generator.dart#newcode714 lib/src/compiler/code_generator.dart:714: !member.isSetter) { On 2016/06/15 15:23:25, vsm wrote: > ...
4 years, 6 months ago (2016-06-15 16:50:32 UTC) #6
Jennifer Messerly
Thanks!
4 years, 6 months ago (2016-06-15 16:50:33 UTC) #7
Jennifer Messerly
PTAL. This should address most of those corner cases. There are still some open issues, ...
4 years, 6 months ago (2016-06-15 19:17:01 UTC) #8
Jennifer Messerly
On 2016/06/15 19:17:01, John Messerly wrote: > PTAL. This should address most of those corner ...
4 years, 6 months ago (2016-06-15 19:36:26 UTC) #9
vsm
nice! https://codereview.chromium.org/2069903002/diff/60001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2069903002/diff/60001/lib/src/compiler/code_generator.dart#newcode800 lib/src/compiler/code_generator.dart:800: dynamicCall = callMethod.returnType is! FunctionType; Do we need ...
4 years, 6 months ago (2016-06-15 19:52:26 UTC) #10
Jennifer Messerly
Yeah, good catch I will remove that unnecessary dcall https://codereview.chromium.org/2069903002/diff/60001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2069903002/diff/60001/lib/src/compiler/code_generator.dart#newcode800 lib/src/compiler/code_generator.dart:800: ...
4 years, 6 months ago (2016-06-15 20:16:51 UTC) #11
Jennifer Messerly
Fixed! Landing.
4 years, 6 months ago (2016-06-16 22:58:44 UTC) #12
Jennifer Messerly
4 years, 6 months ago (2016-06-16 23:38:32 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
a8e9f52c5479169e9b1f58ddfe214172aa25dabd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698