Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 667784d67a3ef66d051aeaee64476064bc2558ac..4138a16b53bc4b8d14cd87fa183f7fed152831de 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -315,8 +315,11 @@ void FullCodeGenerator::EmitProfilingCounterReset() { |
reset_value = 10; |
} |
__ movq(rbx, profiling_counter_, RelocInfo::EMBEDDED_OBJECT); |
- __ Move(FieldOperand(rbx, JSGlobalPropertyCell::kValueOffset), |
- Smi::FromInt(reset_value)); |
+ __ movq(kScratchRegister, |
+ reinterpret_cast<uint64_t>(Smi::FromInt(reset_value)), |
+ RelocInfo::NONE); |
+ __ movq(FieldOperand(rbx, JSGlobalPropertyCell::kValueOffset), |
+ kScratchRegister); |
} |