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

Issue 221873002: Compute frontend/backend specific constants. (Closed)

Created:
6 years, 8 months ago by Johnni Winther
Modified:
6 years, 8 months ago
Reviewers:
karlklose, floitsch, kevmoo
CC:
reviews_dartlang.org, floitsch
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 26

Patch Set 2 : Classes renamed and comments added. #

Total comments: 2

Patch Set 3 : Fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+770 lines, -312 lines) Patch
M sdk/lib/_internal/compiler/implementation/common.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/compile_time_constants.dart View 1 7 chunks +181 lines, -172 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 4 chunks +22 lines, -9 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart View 1 2 3 chunks +62 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/deferred_load.dart View 1 2 7 chunks +22 lines, -11 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/elements.dart View 2 chunks +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 5 chunks +16 lines, -9 lines 0 comments Download
A sdk/lib/_internal/compiler/implementation/js_backend/constant_handler_javascript.dart View 1 1 chunk +209 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/custom_elements_analysis.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/type_variable_handler.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/container_builder.dart View 1 3 chunks +7 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/interceptor_emitter.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/js_emitter.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/metadata_emitter.dart View 1 3 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/mirrors/dart2js_member_mirrors.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/mirrors_used.dart View 4 chunks +12 lines, -10 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 11 chunks +40 lines, -38 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/resolution.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/exit_code_test.dart View 1 2 chunks +3 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/mirrors_used_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js_extra/constant_javascript_semantics_test.dart View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js_extra/minus_zero_test.dart View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A tests/language/const_constructor3_test.dart View 1 chunk +24 lines, -0 lines 0 comments Download
A tests/language/const_evaluation_test.dart View 1 chunk +49 lines, -0 lines 0 comments Download
A + tests/language/const_init2_test.dart View 1 chunk +5 lines, -3 lines 0 comments Download
A + tests/language/const_switch2_test.dart View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
A tests/language/const_switch_test.dart View 1 chunk +32 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
A tests/language/proxy3_test.dart View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Johnni Winther
6 years, 8 months ago (2014-04-02 07:44:20 UTC) #1
karlklose
LGTM. https://codereview.chromium.org/221873002/diff/1/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart File sdk/lib/_internal/compiler/implementation/compile_time_constants.dart (right): https://codereview.chromium.org/221873002/diff/1/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart#newcode18 sdk/lib/_internal/compiler/implementation/compile_time_constants.dart:18: Constant compileNode(Node node, TreeElements elements); Please ad comments ...
6 years, 8 months ago (2014-04-02 13:04:44 UTC) #2
floitsch
Didn't go completely through every line, but afaict things look correct. However, the names and ...
6 years, 8 months ago (2014-04-02 16:50:01 UTC) #3
kevmoo
DBC https://codereview.chromium.org/221873002/diff/1/tests/language/const_constructor3_test.dart File tests/language/const_constructor3_test.dart (right): https://codereview.chromium.org/221873002/diff/1/tests/language/const_constructor3_test.dart#newcode15 tests/language/const_constructor3_test.dart:15: const d = const C(0); /// 02: static ...
6 years, 8 months ago (2014-04-02 18:07:49 UTC) #4
floitsch
https://codereview.chromium.org/221873002/diff/1/tests/language/const_constructor3_test.dart File tests/language/const_constructor3_test.dart (right): https://codereview.chromium.org/221873002/diff/1/tests/language/const_constructor3_test.dart#newcode15 tests/language/const_constructor3_test.dart:15: const d = const C(0); /// 02: static type ...
6 years, 8 months ago (2014-04-02 18:14:59 UTC) #5
kevmoo
https://codereview.chromium.org/221873002/diff/1/tests/language/const_constructor3_test.dart File tests/language/const_constructor3_test.dart (right): https://codereview.chromium.org/221873002/diff/1/tests/language/const_constructor3_test.dart#newcode15 tests/language/const_constructor3_test.dart:15: const d = const C(0); /// 02: static type ...
6 years, 8 months ago (2014-04-02 18:19:36 UTC) #6
Johnni Winther
PTAL https://codereview.chromium.org/221873002/diff/1/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart File sdk/lib/_internal/compiler/implementation/compile_time_constants.dart (right): https://codereview.chromium.org/221873002/diff/1/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart#newcode7 sdk/lib/_internal/compiler/implementation/compile_time_constants.dart:7: abstract class ConstantHandler { On 2014/04/02 16:50:02, floitsch ...
6 years, 8 months ago (2014-04-07 11:42:26 UTC) #7
floitsch
LGTM. https://codereview.chromium.org/221873002/diff/1/sdk/lib/_internal/compiler/implementation/elements/elements.dart File sdk/lib/_internal/compiler/implementation/elements/elements.dart (right): https://codereview.chromium.org/221873002/diff/1/sdk/lib/_internal/compiler/implementation/elements/elements.dart#newcode1043 sdk/lib/_internal/compiler/implementation/elements/elements.dart:1043: /// The front-end constant of this metadata annotation. ...
6 years, 8 months ago (2014-04-07 12:21:41 UTC) #8
Johnni Winther
https://codereview.chromium.org/221873002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/221873002/diff/20001/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode310 sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:310: JavaScriptConstantCompiler get constants { On 2014/04/07 12:21:42, floitsch wrote: ...
6 years, 8 months ago (2014-04-08 07:09:56 UTC) #9
Johnni Winther
Committed patchset #2 manually as r34811 (presubmit successful).
6 years, 8 months ago (2014-04-08 07:13:21 UTC) #10
Johnni Winther
6 years, 8 months ago (2014-04-09 07:42:46 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 manually as r34862 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698