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

Issue 1240263002: dart2js cps: Streamline expressions and primitives. (Closed)

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

Description

dart2js cps: Streamline expressions and primitives. SetStatic, SetField, and SetMutableVariable are now primitives instead of interior expressions. They are valueless primitives, i.e. they are bound by LetPrim but their value is never referenced. This should simplify basic block traversal, since there are now fewer types of interior expressions. The four remaining interior expressions are: LetPrim, LetCont, LetHandler, and LetMutable. Incidentally, these are exactly the four expressions that can bind definitions. GetMutableVariable and SetMutableVariable have also been renamed to GetMutable and SetMutable to be uniform with LetMutable. BUG= R=karlklose@google.com Committed: https://github.com/dart-lang/sdk/commit/4d933a2d0d50d0b0ae6e55de6ad0bee6b1705154

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename Get/SetMutableVariable -> Get/SetMutable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -184 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_fragment.dart View 1 1 chunk +2 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 1 8 chunks +22 lines, -17 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 chunk +0 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 11 chunks +30 lines, -38 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart View 1 5 chunks +6 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart View 1 7 chunks +19 lines, -25 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/mutable_ssa.dart View 1 2 chunks +14 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart View 1 3 chunks +2 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 6 chunks +12 lines, -17 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart View 1 4 chunks +14 lines, -17 lines 0 comments Download
M tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart View 1 9 chunks +48 lines, -23 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
asgerf
I put the class rename in a separate patch. Hopefully it's a bit easier to ...
5 years, 5 months ago (2015-07-20 13:35:23 UTC) #2
karlklose
LGTM!
5 years, 5 months ago (2015-07-20 13:41:08 UTC) #3
asgerf
5 years, 5 months ago (2015-07-20 13:59:46 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4d933a2d0d50d0b0ae6e55de6ad0bee6b1705154 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698