| Index: src/x64/assembler-x64.cc
|
| diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc
|
| index f511145e3bb7cf141ef7a27edb6cac6c45cd7a48..8466109ea8b989d66955110224a3b08fb20b31fc 100644
|
| --- a/src/x64/assembler-x64.cc
|
| +++ b/src/x64/assembler-x64.cc
|
| @@ -1124,6 +1124,9 @@ void Assembler::movq(const Operand& dst, Register src) {
|
|
|
|
|
| void Assembler::movq(Register dst, void* value, RelocInfo::Mode rmode) {
|
| + // This method must not be used with heap object references. The stored
|
| + // address is not GC safe. Use the handle version instead.
|
| + ASSERT(rmode > RelocInfo::LAST_GCED_ENUM);
|
| EnsureSpace ensure_space(this);
|
| last_pc_ = pc_;
|
| emit_rex_64(dst);
|
|
|