Chromium Code Reviews
Descriptiondart2js cps: Change rewriting of equality operators.
Dart == calls now are rewritten to an Identical node (if applicable),
which can then be specialized further into JS == and === nodes.
Previously, == calls would specialize directly to JS == and === nodes,
but some of these optimizations were then missed for the cases where
Identical nodes are introduced directly (e.g. for switch cases).
The rules have also changed a bit to be more effective, and there
are some small improvements to the utility functions.
BUG=
R=karlklose@google.com
Committed: https://github.com/dart-lang/sdk/commit/684b83ab0543bbdd404decf91145b8b8cdc70e0d
Patch Set 1 #Patch Set 2 : Update #
Total comments: 2
Patch Set 3 : Update test + minor improvement in logical rewriter #
Messages
Total messages: 5 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||