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

Issue 1291323004: dart2js: Use 'new Array' instead of 'Array' in the JS output. (Closed)

Created:
5 years, 4 months ago by Kevin Millikin (Google)
Modified:
5 years, 3 months ago
Reviewers:
asgerf, floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: Use 'new Array' instead of 'Array' in the JS output. Though the spec says that they are equivalent when called, they are not optimized equivalently by V8. This might be considered a performance bug in V8 (https://code.google.com/p/v8/issues/detail?id=4380) but we should use the much faster one unless that issue is fixed. BUG= R=asgerf@google.com, floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/aa9e569ecf2d561a26dec69a0fe2af772896f228

Patch Set 1 #

Patch Set 2 : Merge in tip of tree. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/compiler/lib/src/ssa/builder.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
Kevin Millikin (Google)
5 years, 4 months ago (2015-08-19 08:40:53 UTC) #2
asgerf
lgtm
5 years, 4 months ago (2015-08-19 08:46:28 UTC) #3
floitsch
LGTM.
5 years, 4 months ago (2015-08-19 10:39:35 UTC) #4
Kevin Millikin (Google)
Committed patchset #2 (id:20001) manually as aa9e569ecf2d561a26dec69a0fe2af772896f228 (presubmit successful).
5 years, 4 months ago (2015-08-20 09:03:48 UTC) #5
floitsch
5 years, 3 months ago (2015-09-10 16:39:22 UTC) #6
Message was sent while issue was closed.
The V8 bug was fixed today/yesterday.
We should file a bug for 1.14 to revert this CL.

Powered by Google App Engine
This is Rietveld 408576698