Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index e7c2a149ea83ce484b169f1308f8093c4ddf4935..73234e009b99505f8768778542567079fa708e4d 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -640,7 +640,7 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const { |
// Skip saved double registers. |
if (safepoint_entry.has_doubles()) { |
// Number of doubles not known at snapshot time. |
- ASSERT(!Serializer::enabled(isolate())); |
+ ASSERT(!isolate()->serializer_enabled()); |
parameters_base += DoubleRegister::NumAllocatableRegisters() * |
kDoubleSize / kPointerSize; |
} |