Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index f868ffa4566b4d54c160e551f4188fd94afe0f1c..2ddb4200bfaedc450fa8db611711f64af717b771 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -11,7 +11,6 @@ |
#include "src/deoptimizer.h" |
#include "src/frames-inl.h" |
#include "src/full-codegen/full-codegen.h" |
-#include "src/register-configuration.h" |
#include "src/safepoint-table.h" |
#include "src/scopeinfo.h" |
#include "src/string-stream.h" |
@@ -644,9 +643,8 @@ |
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 += DoubleRegister::NumAllocatableRegisters() * |
+ kDoubleSize / kPointerSize; |
} |
// Visit the registers that contain pointers if any. |