Chromium Code Reviews
Descriptiondart2js cps: Ensure definitions are specialized before their uses.
Specializing a node may depend on how its operands are defined, but
they may no longer depend on how its result is used.
Patterns that depended on its result being converted to a boolean
violated this rule, but fortunately they could be refactored to
satisfy the rule, by matching the node doing doing the boolean
conversion.
By processing definitions before their uses, we avoid creating new
redexes for a node that has already been processed.
BUG=
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/fb8c42cbdbfb431d3b22394582b8379b05499583
Patch Set 1 #
Total comments: 8
Patch Set 2 : Address comments #Patch Set 3 : Rebase #
Messages
Total messages: 6 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||