| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index e0aeb8e3648fc922abd1bc5cda86cd5e5c9c4640..97ec4b190c9030079d1c5cc2c5e7a30876393532 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -319,7 +319,7 @@ void FullCodeGenerator::EmitProfilingCounterReset() {
|
| __ movq(rbx, profiling_counter_, RelocInfo::EMBEDDED_OBJECT);
|
| __ movq(kScratchRegister,
|
| reinterpret_cast<uint64_t>(Smi::FromInt(reset_value)),
|
| - RelocInfo::NONE);
|
| + RelocInfo::NONE64);
|
| __ movq(FieldOperand(rbx, JSGlobalPropertyCell::kValueOffset),
|
| kScratchRegister);
|
| }
|
| @@ -3021,10 +3021,10 @@ void FullCodeGenerator::EmitDateField(CallRuntime* expr) {
|
| __ PrepareCallCFunction(2);
|
| #ifdef _WIN64
|
| __ movq(rcx, object);
|
| - __ movq(rdx, index, RelocInfo::NONE);
|
| + __ movq(rdx, index, RelocInfo::NONE64);
|
| #else
|
| __ movq(rdi, object);
|
| - __ movq(rsi, index, RelocInfo::NONE);
|
| + __ movq(rsi, index, RelocInfo::NONE64);
|
| #endif
|
| __ CallCFunction(ExternalReference::get_date_field_function(isolate()), 2);
|
| __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
|
|
|