Description[Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version.
Makes LogicalNot bytecode not do the ToBoolean operation, and add support in the
peephole optimizer to choose between the appropriate bytecode depending upon
whether the previous bytecode emitted a boolean or not.
BUG=v8:4280
LOG=N
Committed: https://crrev.com/8352ad50e651c223ee7472bd23cbdeadfbe08cf2
Cr-Commit-Position: refs/heads/master@{#36295}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Rebase #Patch Set 4 : Rebase #Depends on Patchset: Messages
Total messages: 20 (8 generated)
|