Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 887f4314f7bbb94b8f8b82ba5dab5f199caa7c56..b088c7d19c44a1d2301af08c19fb2f689b56df2c 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -927,6 +927,7 @@ |
AllowDeferredHandleDereference using_raw_address; |
DCHECK(!RelocInfo::IsNone(rmode)); |
DCHECK(value->IsHeapObject()); |
+ DCHECK(!isolate()->heap()->InNewSpace(*value)); |
movp(dst, reinterpret_cast<void*>(value.location()), rmode); |
} |