Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index ee8d618bd8958c2b0ed08df54573068a746ce980..3fa06e1780bafb065e4859649fee66827c37c426 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -642,7 +642,8 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const { |
SafepointEntry safepoint_entry; |
Code* code = StackFrame::GetSafepointData( |
isolate(), pc(), &safepoint_entry, &stack_slots); |
- unsigned slot_space = stack_slots * kPointerSize; |
+ unsigned slot_space = |
+ stack_slots * kPointerSize - StandardFrameConstants::kFixedFrameSize; |
// Visit the outgoing parameters. |
Object** parameters_base = &Memory::Object_at(sp()); |