Chromium Code Reviews
Descriptiondart2js cps: Bugfix in assignment propagation into branch conditions.
Assignment propagation traverses the tree backwards, and should therefore
visit the branch condition of an 'if' after its two branches.
It happened to work (in the sense of not breaking the code) but
only for very subtle reasons.
This fixes an optimization bug that prevented assignments from
propagating to their first use when the first use was in a branch
condition.
BUG=
R=karlklose@google.com
Committed: https://github.com/dart-lang/sdk/commit/5a20c361b938fceb33f2cdd9460f8f32c4edf0f4
Patch Set 1 #
Total comments: 1
Messages
Total messages: 4 (1 generated)
|
|||||||||||||||||||