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

Issue 1115183002: Add ConstantConstructor to ConstantExpression system. (Closed)

Created:
5 years, 7 months ago by Johnni Winther
Modified:
5 years, 7 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Add ConstantConstructor to ConstantExpression system. BUG= R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=45681

Patch Set 1 #

Patch Set 2 : Fix docgen. #

Patch Set 3 : Add test. #

Total comments: 18

Patch Set 4 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1420 lines, -89 lines) Patch
M pkg/analyzer2dart/lib/src/modely.dart View 4 chunks +12 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/closure.dart View 3 chunks +16 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/compile_time_constants.dart View 2 chunks +19 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 chunk +9 lines, -3 lines 0 comments Download
A pkg/compiler/lib/src/constants/constructors.dart View 1 2 3 1 chunk +376 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/constants/expressions.dart View 1 2 3 25 chunks +530 lines, -28 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart View 4 chunks +61 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 2 chunks +11 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 7 chunks +55 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 3 chunks +8 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/resolution/send_resolver.dart View 1 chunk +5 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/use_unused_api.dart View 3 chunks +5 lines, -1 line 0 comments Download
M pkg/docgen/lib/src/models/model_helpers.dart View 1 3 chunks +62 lines, -7 lines 0 comments Download
A tests/compiler/dart2js/constant_expression_test.dart View 1 2 1 chunk +247 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/semantic_visitor_test.dart View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Johnni Winther
Look in constants/expressions.dart first.
5 years, 7 months ago (2015-04-30 13:17:16 UTC) #2
karlklose
LGTM. https://codereview.chromium.org/1115183002/diff/40001/pkg/compiler/lib/src/constants/constructors.dart File pkg/compiler/lib/src/constants/constructors.dart (right): https://codereview.chromium.org/1115183002/diff/40001/pkg/compiler/lib/src/constants/constructors.dart#newcode43 pkg/compiler/lib/src/constants/constructors.dart:43: final Map<FieldElement, ConstantExpression> fieldMap = {}; Add type ...
5 years, 7 months ago (2015-05-11 10:23:19 UTC) #3
Johnni Winther
https://codereview.chromium.org/1115183002/diff/40001/pkg/compiler/lib/src/constants/constructors.dart File pkg/compiler/lib/src/constants/constructors.dart (right): https://codereview.chromium.org/1115183002/diff/40001/pkg/compiler/lib/src/constants/constructors.dart#newcode43 pkg/compiler/lib/src/constants/constructors.dart:43: final Map<FieldElement, ConstantExpression> fieldMap = {}; On 2015/05/11 10:23:18, ...
5 years, 7 months ago (2015-05-11 12:24:58 UTC) #4
Johnni Winther
5 years, 7 months ago (2015-05-11 12:47:25 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 45681 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698