DescriptionFix a bug in deoptimization after logical expressions in an effect context.
When deoptimizing to after an expression of the form (expr0 || expr1)
or (expr0 && expr1) in an effect context, the unoptimized code could
incorrectly see the value of the expression.
Handle the short-circuit binary operators specially in effect contexts.
This fixes the issue and will generate better code when the left
subexpression is boolean-valued.
BUG=v8:1166
Committed: http://code.google.com/p/v8/source/detail?r=6831
Patch Set 1 #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|