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

Issue 1134063002: dart2js cps: Introduce GetStatic/SetStatic. (Closed)

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

Description

dart2js cps: Introduce GetStatic/SetStatic. The GetStatic is used for reading static fields and tearing off static methods. Invoking a static getter/setter (not from a field) is still an InvokeStatic, which IMO is the way it should remain. BUG= R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=45735 Reverted: https://code.google.com/p/dart/source/detail?r=45737 Committed: https://code.google.com/p/dart/source/detail?r=45738

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update status file #

Total comments: 2

Patch Set 3 : Rebase & status #

Patch Set 4 : Fix codegen for tear-offs #

Patch Set 5 : Update status again #

Patch Set 6 : Rebase and status AGAIN #

Patch Set 7 : AGAIN STATUS #

Patch Set 8 : Revert/Unrevert #

Patch Set 9 : Fix SExpression parsing/unparsing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4048 lines, -4043 lines) Patch
M pkg/analyzer2dart/test/sexpr_data.dart View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 7 8 3 chunks +3 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 7 8 2 chunks +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 2 7 8 5 chunks +43 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart View 7 8 3 chunks +20 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart View 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart View 1 2 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/codegen.dart View 1 2 3 7 8 3 chunks +26 lines, -36 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/glue.dart View 1 2 3 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart View 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart View 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart View 7 8 5 chunks +42 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart View 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -49 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M samples/samples.status View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 4 5 6 7 8 1 chunk +2039 lines, -2159 lines 0 comments Download
M tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart View 1 2 3 4 5 6 7 8 6 chunks +30 lines, -0 lines 0 comments Download
M tests/compiler/dart2js_extra/dart2js_extra.status View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -6 lines 0 comments Download
M tests/compiler/dart2js_native/dart2js_native.status View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download
M tests/corelib/corelib.status View 1 2 3 4 5 6 7 8 1 chunk +155 lines, -153 lines 0 comments Download
M tests/html/html.status View 1 2 3 4 5 6 7 8 1 chunk +144 lines, -144 lines 0 comments Download
M tests/isolate/isolate.status View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -60 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 5 6 7 8 1 chunk +908 lines, -931 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 6 7 8 1 chunk +350 lines, -362 lines 0 comments Download
M tests/standalone/standalone.status View 1 2 3 4 5 6 7 8 1 chunk +93 lines, -104 lines 0 comments Download
M tests/utils/utils.status View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
asgerf
https://codereview.chromium.org/1134063002/diff/1/pkg/compiler/lib/src/js_backend/codegen/codegen.dart File pkg/compiler/lib/src/js_backend/codegen/codegen.dart (left): https://codereview.chromium.org/1134063002/diff/1/pkg/compiler/lib/src/js_backend/codegen/codegen.dart#oldcode292 pkg/compiler/lib/src/js_backend/codegen/codegen.dart:292: This is just general clean-up since the issue has ...
5 years, 7 months ago (2015-05-11 12:31:10 UTC) #2
karlklose
LGTM. https://codereview.chromium.org/1134063002/diff/20001/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart File pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart (right): https://codereview.chromium.org/1134063002/diff/20001/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart#newcode974 pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart:974: return new Identifier(node.element.name)..element = node.element; Not (only) your ...
5 years, 7 months ago (2015-05-11 13:10:47 UTC) #3
asgerf
https://codereview.chromium.org/1134063002/diff/20001/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart File pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart (right): https://codereview.chromium.org/1134063002/diff/20001/pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart#newcode974 pkg/compiler/lib/src/dart_backend/backend_ast_emitter.dart:974: return new Identifier(node.element.name)..element = node.element; On 2015/05/11 13:10:46, karlklose ...
5 years, 7 months ago (2015-05-11 13:16:57 UTC) #4
asgerf
Committed patchset #7 (id:120001) manually as 45735 (presubmit successful).
5 years, 7 months ago (2015-05-12 13:36:29 UTC) #5
asgerf
5 years, 7 months ago (2015-05-12 14:20:24 UTC) #6
Message was sent while issue was closed.
Committed patchset #9 (id:140001) manually as 45738 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698