| Index: src/x64/assembler-x64.cc
|
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
|
| index 3cf3398e876e3a51e291a2e2f60ca88355e8d87b..75df415afd687055be0dc0d289efaa8d081d24c1 100644
|
| --- a/src/x64/assembler-x64.cc
|
| +++ b/src/x64/assembler-x64.cc
|
| @@ -1469,17 +1469,18 @@ 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);
|
| }
|
|
|
|
|
|
|