Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index dd2d9b68c1826f6a6ed4931e155ac4ea8e89d82f..c5ad8ea6b2cc7010a13aa655699f85fe34edb730 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9055,6 +9055,7 @@ void Code::CopyFrom(const CodeDesc& desc) { |
RelocInfo::kApplyMask; |
// Needed to find target_object and runtime_entry on X64 |
Assembler* origin = desc.origin; |
+ ALLOW_HANDLE_DEREF(GetIsolate(), "embedding raw addresses into code"); |
for (RelocIterator it(this, mode_mask); !it.done(); it.next()) { |
RelocInfo::Mode mode = it.rinfo()->rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |