Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 7e00d6408e2a5b5a8fb00a4b070586b03a79ccca..f5ed14ddbdb836f61ae371a9937bc676f20b27db 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -848,6 +848,9 @@ class MacroAssembler: public Assembler { |
void PopReturnAddressTo(Register dst) { pop(dst); } |
void MoveDouble(Register dst, const Operand& src) { movq(dst, src); } |
void MoveDouble(const Operand& dst, Register src) { movq(dst, src); } |
+ // Use Set macro instruction if the value might be in the range of |
+ // int32_t or uint32_t. |
+ void MoveInteger64(Register dst, int64_t value) { movq(dst, value); } |
void Move(Register dst, ExternalReference ext) { |
movq(dst, reinterpret_cast<Address>(ext.address()), |
RelocInfo::EXTERNAL_REFERENCE); |