Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index bdc76a9bfeb7d9f972f3b1c9a61eabed8003ca1f..16ffbf5a94e61557879fb1a30de550db49c90338 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -554,6 +554,11 @@ void OptimizedFrame::Iterate(ObjectVisitor* v) const { |
parameters_base += safepoint_entry.argument_count(); |
} |
+ if (safepoint_entry.has_doubles()) { |
+ parameters_base += DoubleRegister::kNumAllocatableRegisters * |
+ kDoubleSize / kPointerSize; |
+ } |
+ |
// Visit the registers that contain pointers if any. |
if (safepoint_entry.HasRegisters()) { |
for (int i = kNumSafepointRegisters - 1; i >=0; i--) { |