Descriptiondart2js 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 #Messages
Total messages: 4 (1 generated)
|