| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 94650fd49a28483023572ca79a94d9b4adf4a873..b066079877f6775f1de570a3dad67f837027151f 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -2440,7 +2440,7 @@ Handle<Code> CallStubCompiler::CompileMathAbsCall(
|
| // Check if the argument is a heap number and load its value.
|
| __ bind(¬_smi);
|
| __ CheckMap(rax, factory()->heap_number_map(), &slow, DONT_DO_SMI_CHECK);
|
| - __ movq(rbx, FieldOperand(rax, HeapNumber::kValueOffset));
|
| + __ MoveDouble(rbx, FieldOperand(rax, HeapNumber::kValueOffset));
|
|
|
| // Check the sign of the argument. If the argument is positive,
|
| // just return it.
|
| @@ -2458,7 +2458,7 @@ Handle<Code> CallStubCompiler::CompileMathAbsCall(
|
| __ bind(&negative_sign);
|
| __ xor_(rbx, rdi);
|
| __ AllocateHeapNumber(rax, rdx, &slow);
|
| - __ movq(FieldOperand(rax, HeapNumber::kValueOffset), rbx);
|
| + __ MoveDouble(FieldOperand(rax, HeapNumber::kValueOffset), rbx);
|
| __ ret(2 * kPointerSize);
|
|
|
| // Tail call the full function. We do not have to patch the receiver
|
|
|