| Index: src/x64/assembler-x64.cc
|
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
|
| index 3cf3398e876e3a51e291a2e2f60ca88355e8d87b..42f530b1503bfdb2c0d84c9901c62c40463fafb7 100644
|
| --- a/src/x64/assembler-x64.cc
|
| +++ b/src/x64/assembler-x64.cc
|
| @@ -1469,20 +1469,20 @@ void Assembler::movp(Register dst, void* value, RelocInfo::Mode rmode) {
|
| emitp(value, rmode);
|
| }
|
|
|
| -
|
| -void Assembler::movq(Register dst, int64_t value) {
|
| +void Assembler::movq(Register dst, int64_t value, RelocInfo::Mode rmode) {
|
| EnsureSpace ensure_space(this);
|
| emit_rex_64(dst);
|
| emit(0xB8 | dst.low_bits());
|
| + if (!RelocInfo::IsNone(rmode)) {
|
| + RecordRelocInfo(rmode, value);
|
| + }
|
| emitq(value);
|
| }
|
|
|
| -
|
| -void Assembler::movq(Register dst, uint64_t value) {
|
| - movq(dst, static_cast<int64_t>(value));
|
| +void Assembler::movq(Register dst, uint64_t value, RelocInfo::Mode rmode) {
|
| + movq(dst, static_cast<int64_t>(value), rmode);
|
| }
|
|
|
| -
|
| // Loads the ip-relative location of the src label into the target location
|
| // (as a 32-bit offset sign extended to 64-bit).
|
| void Assembler::movl(const Operand& dst, Label* src) {
|
|
|