Chromium Code Reviews
DescriptionOptimize expressions of the form (expr === true) when expr has boolean type.
This allows us to generate better code for many short-circuit
expressions like a || b, a && b if we can statically determine the type
of the subexpressions.
Also: Avoid disassembling optimized functions twice with --disassemble --disassemble-optimized.
Committed: https://code.google.com/p/dart/source/detail?r=10568
Patch Set 1 #Patch Set 2 : fixed off-by-one in ReplaceUsesWith #Patch Set 3 : #Patch Set 4 : ready for review #
Total comments: 4
Patch Set 5 : addressed comments #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||