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

Issue 1126063002: Recognize unmodifiable lists (Closed)

Created:
5 years, 7 months ago by sra1
Modified:
5 years, 7 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org, herhut, Siggi Cherem (dart-lang)
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Recognize unmodifiable lists Add a new type, JSUnmodifiableArray, that is the type returned by List.unmodifiable and the type of const list literals. R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=45575

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -10 lines) Patch
M pkg/compiler/lib/src/js_backend/backend.dart View 7 chunks +20 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 2 chunks +6 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 1 chunk +10 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_array.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/type_combination_test.dart View 26 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
sra1
Fix for http://dartbug.com/23309 We could do better with various unions of fixed length iterables. I ...
5 years, 7 months ago (2015-05-06 02:29:40 UTC) #3
floitsch
LGTM. https://codereview.chromium.org/1126063002/diff/20001/pkg/compiler/lib/src/ssa/optimize.dart File pkg/compiler/lib/src/ssa/optimize.dart (right): https://codereview.chromium.org/1126063002/diff/20001/pkg/compiler/lib/src/ssa/optimize.dart#newcode102 pkg/compiler/lib/src/ssa/optimize.dart:102: bool isFixedLength(mask, Compiler compiler) { Add comment in ...
5 years, 7 months ago (2015-05-06 06:28:32 UTC) #4
sra1
5 years, 7 months ago (2015-05-06 21:25:36 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as 45575 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698