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

Issue 9453021: Start supporting fixed length and immutable lists. (Closed)

Created:
8 years, 10 months ago by ahe
Modified:
8 years, 10 months ago
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen, karlklose, kasperl
Visibility:
Public.

Description

Start supporting fixed length and immutable lists. Committed: https://code.google.com/p/dart/source/detail?r=4608

Patch Set 1 #

Patch Set 2 : Update co19-leg.status #

Total comments: 14

Patch Set 3 : Address review comments #

Patch Set 4 : Handle constant list expressions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -22 lines) Patch
M dart/frog/leg/compile_time_constants.dart View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M dart/frog/leg/emitter.dart View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M dart/frog/leg/lib/js_helper.dart View 1 2 10 chunks +29 lines, -2 lines 0 comments Download
M dart/frog/leg/ssa/builder.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/leg/ssa/codegen.dart View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M dart/frog/leg/ssa/nodes.dart View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M dart/tests/co19/co19-leg.status View 1 1 chunk +0 lines, -11 lines 0 comments Download
M dart/tests/corelib/corelib-leg.status View 1 2 3 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ahe
8 years, 10 months ago (2012-02-23 17:54:06 UTC) #1
floitsch
LGTM. https://chromiumcodereview.appspot.com/9453021/diff/1001/dart/frog/leg/lib/js_helper.dart File dart/frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9453021/diff/1001/dart/frog/leg/lib/js_helper.dart#newcode582 dart/frog/leg/lib/js_helper.dart:582: checkFixedLength(receiver, 'addAll'); No need. receiver add does this ...
8 years, 10 months ago (2012-02-24 10:15:08 UTC) #2
Lasse Reichstein Nielsen
LGTM https://chromiumcodereview.appspot.com/9453021/diff/1001/dart/frog/leg/lib/js_helper.dart File dart/frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9453021/diff/1001/dart/frog/leg/lib/js_helper.dart#newcode245 dart/frog/leg/lib/js_helper.dart:245: checkImmutable(a, 'indexed set'); Seems it should be named ...
8 years, 10 months ago (2012-02-24 11:08:41 UTC) #3
ngeoffray
LGTM http://codereview.chromium.org/9453021/diff/1001/dart/frog/leg/ssa/nodes.dart File dart/frog/leg/ssa/nodes.dart (right): http://codereview.chromium.org/9453021/diff/1001/dart/frog/leg/ssa/nodes.dart#newcode2123 dart/frog/leg/ssa/nodes.dart:2123: HLiteralList(inputs, this.isConst) : super(inputs); Please add a TODO(floitsch): ...
8 years, 10 months ago (2012-02-24 13:24:33 UTC) #4
ahe
Hi Lasse, Nicolas, and Florian, Thank you for your comments and suggestions. I haven't merged ...
8 years, 10 months ago (2012-02-27 11:51:11 UTC) #5
ahe
8 years, 10 months ago (2012-02-27 12:35:05 UTC) #6
Merged with latest changes and added code to ensure const lists are immutable
and non-growable.

Powered by Google App Engine
This is Rietveld 408576698