DescriptionMIPS: [turbofan] Fix addition for deoptimization.
In turbofan, after an addition operation where the same register is the
output and both inputs, if deoptimization is performed the input is
overwritten with the output value and the final result is not correct.
This is fixed by restoring the original value of the input before
deoptimization.
BUG=
TEST=mjsunit/regress/regress-int32-truncation
Committed: https://crrev.com/99385e8e4bcef1f333ede61c936528bfc0c8ecfa
Cr-Commit-Position: refs/heads/master@{#37524}
Patch Set 1 #Patch Set 2 : Add fix for mips32 #Patch Set 3 : Rebase to master #
Messages
Total messages: 15 (7 generated)
|