Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 74da3ed710948731feebdd0806b16b1a1bdfb957..e7c2a149ea83ce484b169f1308f8093c4ddf4935 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()); |
+ ASSERT(!Serializer::enabled(isolate())); |
parameters_base += DoubleRegister::NumAllocatableRegisters() * |
kDoubleSize / kPointerSize; |
} |