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

Issue 1637843002: typeInformation in CreateInstance is a kind of TypeExpression (Closed)

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

Description

typeInformation in CreateInstance is a kind of TypeExpression Use TypeExpression to create the 'headless flat' type term that is used for the instance's reified type. This is a step towards placing the type term on JSArray. There is also some modest GVN benefits where repeated terms are shared. R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/27b7999463c781f0fe65a260da5168eb25a768db

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -40 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 2 7 chunks +78 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 2 2 chunks +15 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart View 1 2 chunks +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 1 2 chunks +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart View 1 6 chunks +11 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
sra1
4 years, 11 months ago (2016-01-26 09:10:18 UTC) #2
asgerf
https://codereview.chromium.org/1637843002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart File pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/1637843002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart#newcode1760 pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart:1760: final bool isForInstance; // Expression on instance has 'headless' ...
4 years, 11 months ago (2016-01-26 10:30:01 UTC) #3
sra1
https://codereview.chromium.org/1637843002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart File pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/1637843002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart#newcode1760 pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart:1760: final bool isForInstance; // Expression on instance has 'headless' ...
4 years, 11 months ago (2016-01-26 22:21:08 UTC) #4
sra1
PTAL
4 years, 11 months ago (2016-01-27 02:27:07 UTC) #5
asgerf
Either commit to the flat form, or commit to the headless form, or assert in ...
4 years, 11 months ago (2016-01-27 14:53:27 UTC) #7
asgerf
lgtm with the assert
4 years, 11 months ago (2016-01-27 17:01:20 UTC) #8
sra1
https://codereview.chromium.org/1637843002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart File pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/1637843002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart#newcode1760 pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart:1760: final bool isForInstance; // Expression on instance has 'headless' ...
4 years, 11 months ago (2016-01-27 19:20:03 UTC) #9
sra1
4 years, 11 months ago (2016-01-27 19:26:46 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
27b7999463c781f0fe65a260da5168eb25a768db (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698