Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index ccdc114801b7c9df6b46105cb62ec6769f85f8ec..e629868e4edc1f570cf0fc6f654d5efdc8093f38 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -2080,7 +2080,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
if (!RelocInfo::IsNone(rinfo.rmode())) { |
// Don't record external references unless the heap will be serialized. |
if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
- if (!Serializer::enabled() && !emit_debug_code()) { |
+ if (!Serializer::enabled(isolate()) && !emit_debug_code()) { |
return; |
} |
} |