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

Issue 1642493002: Add type info to JSArray. (Closed)

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

Description

Add type info to JSArray. JSArray<E>.typed has a specially generated body. We should be able to inline this. This makes all of the "new List.xxx()" paths work. Literal lists are treated like maps - we generate a call to JSArray<E>.typed. I need to change that to JSArray<E>.markGrowable. R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/1673a648491211addd576f33cfaff794cc721eac

Patch Set 1 : baseline #

Patch Set 2 : array changes #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -33 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 4 chunks +71 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend_impact.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/corelib/corelib.status View 1 1 chunk +0 lines, -7 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (4 generated)
sra1
This is a patch on top of my pending TypeExpression CL. https://codereview.chromium.org/1642493002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart (right): ...
4 years, 11 months ago (2016-01-27 07:06:08 UTC) #3
sra1
Ping
4 years, 11 months ago (2016-01-27 15:57:14 UTC) #5
asgerf
LGTM.
4 years, 11 months ago (2016-01-27 16:08:03 UTC) #6
sra1
4 years, 11 months ago (2016-01-27 21:47:25 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
1673a648491211addd576f33cfaff794cc721eac (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698