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

Issue 575013002: Drop trailing null arguments in generated JS. (Closed)

Created:
6 years, 3 months ago by herhut
Modified:
6 years, 1 month ago
Reviewers:
floitsch, sra1
CC:
reviews_dartlang.org, karlklose, Johnni Winther
Visibility:
Public.

Description

Drop trailing null arguments in generated JS. BUG= R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=41555

Patch Set 1 #

Patch Set 2 : added test #

Patch Set 3 : fix handling of Array.push #

Total comments: 4

Patch Set 4 : Exclude native methods for now. #

Patch Set 5 : sra@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -6 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 3 3 chunks +28 lines, -6 lines 0 comments Download
A tests/compiler/dart2js/drop_trailing_null_arguments_test.dart View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
herhut
This had no measurable impact on most benchmarks and showed surprising improvements for others (e.g. ...
6 years, 3 months ago (2014-09-18 13:55:03 UTC) #2
floitsch
LGTM. Maybe add a small test?
6 years, 3 months ago (2014-09-18 13:58:05 UTC) #3
floitsch
On 2014/09/18 13:58:05, floitsch wrote: > LGTM. > Maybe add a small test? Scratch the ...
6 years, 3 months ago (2014-09-18 13:58:48 UTC) #4
herhut
PTAL In the long run, we should encode this in calling conventions. The special renaming ...
6 years, 3 months ago (2014-09-19 13:23:11 UTC) #6
floitsch
LGTM. What test started failing?
6 years, 3 months ago (2014-09-19 19:28:31 UTC) #7
herhut
On 2014/09/19 19:28:31, floitsch wrote: > LGTM. > What test started failing? co19/LibTest/async/Stream/expand_A01_t01 co19/LibTest/collection/DoubleLinkedQueue/DoubleLinkedQueue_class_A01_t01 co19/LibTest/collection/DoubleLinkedQueue/toList_A01_t02 ...
6 years, 3 months ago (2014-09-22 08:29:30 UTC) #8
herhut
I have decided to disable this for native functions just to be on the safe ...
6 years, 3 months ago (2014-09-22 11:51:50 UTC) #10
sra1
https://codereview.chromium.org/575013002/diff/60001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (right): https://codereview.chromium.org/575013002/diff/60001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart#newcode476 sdk/lib/_internal/compiler/implementation/ssa/codegen.dart:476: * 'arguments.lenght' in JavaScript, [allArgsRequired] should be set to ...
6 years, 2 months ago (2014-10-24 23:32:00 UTC) #11
herhut
https://codereview.chromium.org/575013002/diff/60001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart File sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (right): https://codereview.chromium.org/575013002/diff/60001/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart#newcode476 sdk/lib/_internal/compiler/implementation/ssa/codegen.dart:476: * 'arguments.lenght' in JavaScript, [allArgsRequired] should be set to ...
6 years, 1 month ago (2014-11-06 13:14:44 UTC) #12
herhut
6 years, 1 month ago (2014-11-06 13:19:05 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as 41555 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698