Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 1cb98b8c2cfb9a200ef43109cf9aa247065d2166..306a54d82b50d7dbff5ae705de093ec757c6840e 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -2930,7 +2930,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
ASSERT(!RelocInfo::IsNone(rmode)); |
if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
// Don't record external references unless the heap will be serialized. |
- if (!Serializer::enabled() && !emit_debug_code()) { |
+ if (!Serializer::enabled(isolate()) && !emit_debug_code()) { |
return; |
} |
} else if (rmode == RelocInfo::CODE_AGE_SEQUENCE) { |