Reviewers: danno,
Description:
Fix 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
Please review this at https://chromiumcodereview.appspot.com/9565007/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/arm/lithium-arm.cc
M src/hydrogen-instructions.h
M src/hydrogen.cc
M src/ia32/lithium-ia32.cc
M src/mips/lithium-mips.cc
M src/x64/lithium-x64.cc
A test/mjsunit/compiler/regress-toint32.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev