DescriptionFix a register assignment bug in typed array stores without SSE3 available.
The old code used a separate HToInt32 instruction which had a wrong register
constraint for the input register which caused wrong result when the stored value
is used after a typed array store. (UseRegister instead of UseTempRegister) when no
SSE3 is available.
This change fixes it by replacing HToInt32 with the corresponding HChange
instruction which has correct register contraints.
TEST=mjsunit/compiler/regress-toint32.js
Committed: https://code.google.com/p/v8/source/detail?r=10891
Patch Set 1 #Patch Set 2 : corrected copyright file header #Patch Set 3 : Fixed debug assert #Patch Set 4 : Fixed assert for real #
Messages
Total messages: 2 (0 generated)
|