Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index c6ee65dec6f9ab039ee4c0f7fc471df52bd13d10..7786b2ed7238e127b2cfe3b6dd70616fad82d4bb 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -666,9 +666,10 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const { |
if (safepoint_entry.has_doubles()) { |
// Number of doubles not known at snapshot time. |
DCHECK(!isolate()->serializer_enabled()); |
- parameters_base += RegisterConfiguration::ArchDefault() |
- ->num_allocatable_double_registers() * |
- kDoubleSize / kPointerSize; |
+ parameters_base += |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT) |
+ ->num_allocatable_double_registers() * |
+ kDoubleSize / kPointerSize; |
} |
// Visit the registers that contain pointers if any. |