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

Issue 2021723003: Fix code-size regression (Closed)

Created:
4 years, 6 months ago by Johnni Winther
Modified:
4 years, 6 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix code-size regression This reinserts the native spec-string interpretation. The CL https://codereview.chromium.org/2004833003/ changed the interpretation of `List` from `List<E>` to `List<dynamic>` causing these native classes to be added through subtyping: NativeUint8List <: List NativeUint8ClampedList <: List NativeUint32List <: List NativeUint16List <: List NativeInt8List <: List NativeInt32List <: List NativeInt16List <: List NativeFloat64List <: List NativeFloat32List <: List NativeTypedArrayOfInt <: List NativeTypedArrayOfDouble <: List R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/565b30123c471b4b126e51f90cefab4f271c07b3 Reverted: https://github.com/dart-lang/sdk/commit/fa5b98126cd0b03163cf1e985944ef84daffe96b Committed: https://github.com/dart-lang/sdk/commit/bb9fab00653e645ed7225506edf65c3dd74e1011

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated cf. comment. #

Patch Set 3 : Rebased #

Patch Set 4 : Also handle 'dynamic'. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -6 lines) Patch
M pkg/compiler/lib/src/native/enqueue.dart View 1 2 3 1 chunk +16 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/mirrors_used_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
Johnni Winther
4 years, 6 months ago (2016-05-30 08:57:42 UTC) #3
Siggi Cherem (dart-lang)
Stephen - for context, this is the file where Johnni changed the interpretation of the ...
4 years, 6 months ago (2016-05-31 16:34:03 UTC) #5
sra1
lgtm https://codereview.chromium.org/2021723003/diff/1/pkg/compiler/lib/src/native/enqueue.dart File pkg/compiler/lib/src/native/enqueue.dart (right): https://codereview.chromium.org/2021723003/diff/1/pkg/compiler/lib/src/native/enqueue.dart#newcode527 pkg/compiler/lib/src/native/enqueue.dart:527: // any native subclasses of generic classes. Add ...
4 years, 6 months ago (2016-05-31 20:47:05 UTC) #6
Johnni Winther
Committed patchset #2 (id:20001) manually as 565b30123c471b4b126e51f90cefab4f271c07b3 (presubmit successful).
4 years, 6 months ago (2016-06-02 08:16:52 UTC) #8
Johnni Winther
https://codereview.chromium.org/2021723003/diff/1/pkg/compiler/lib/src/native/enqueue.dart File pkg/compiler/lib/src/native/enqueue.dart (right): https://codereview.chromium.org/2021723003/diff/1/pkg/compiler/lib/src/native/enqueue.dart#newcode527 pkg/compiler/lib/src/native/enqueue.dart:527: // any native subclasses of generic classes. On 2016/05/31 ...
4 years, 6 months ago (2016-06-02 08:19:21 UTC) #9
Johnni Winther
PTAL at the last patch
4 years, 6 months ago (2016-06-02 11:42:51 UTC) #11
Johnni Winther
4 years, 6 months ago (2016-06-02 11:57:07 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
bb9fab00653e645ed7225506edf65c3dd74e1011 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698