Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 8438e077695296877fde93d70990ca7969b89e17..7a88e70827271bf97de9c88c90ea3e09f560b892 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2703,7 +2703,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
ASSERT(!RelocInfo::IsNone(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; |
} |
} |