Commit 3b5abbbd authored by ricow@chromium.org's avatar ricow@chromium.org

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
parent 9ff019b4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment