Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index bdc76a9bfeb7d9f972f3b1c9a61eabed8003ca1f..353dc2093ec91f324a8077b12537315539f128eb 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 += DwVfpRegister::kNumAllocatableRegisters * |
+ kDoubleSize / kPointerSize; |
+ } |
+ |
// Visit the registers that contain pointers if any. |
if (safepoint_entry.HasRegisters()) { |
for (int i = kNumSafepointRegisters - 1; i >=0; i--) { |