Fix no sse3 support by correctly allocating temp register
Review URL: http://codereview.chromium.org/5534004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5924 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
9ff019b49a
commit
3b5abbbdef
@ -1694,7 +1694,7 @@ LInstruction* LChunkBuilder::DoChange(HChange* instr) {
|
||||
bool needs_check = !instr->value()->type().IsSmi();
|
||||
if (needs_check) {
|
||||
LOperand* xmm_temp =
|
||||
(instr->CanTruncateToInt32() && !CpuFeatures::IsSupported(SSE3))
|
||||
(instr->CanTruncateToInt32() && CpuFeatures::IsSupported(SSE3))
|
||||
? NULL
|
||||
: FixedTemp(xmm1);
|
||||
LInstruction* res = new LTaggedToI(value, xmm_temp);
|
||||
|
Loading…
Reference in New Issue
Block a user