Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 2a1a26461d3b032b0efd5afa995cc363e20762e5..2d5c3c71c345977a12ce8483e23ff6438c9a931d 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -718,7 +718,8 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const { |
(frame_header_size + StandardFrameConstants::kFixedFrameSizeAboveFp); |
Object** frame_header_base = &Memory::Object_at(fp() - frame_header_size); |
- Object** frame_header_limit = &Memory::Object_at(fp()); |
+ Object** frame_header_limit = |
+ &Memory::Object_at(fp() - StandardFrameConstants::kCPSlotSize); |
Object** parameters_base = &Memory::Object_at(sp()); |
Object** parameters_limit = frame_header_base - slot_space / kPointerSize; |