Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index c0c08f72b570b4abbfa68364b80dc6514e521a89..362ae89399e977b646f3b4ab0fd33182c63a1670 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -668,7 +668,8 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const { |
// Determine the fixed header and spill slot area size. |
int frame_header_size = StandardFrameConstants::kFixedFrameSizeFromFp; |
- Object* marker = Memory::Object_at(fp() - kPointerSize); |
+ Object* marker = |
+ Memory::Object_at(fp() + CommonFrameConstants::kContextOrFrameTypeOffset); |
if (marker->IsSmi()) { |
StackFrame::Type candidate = |
static_cast<StackFrame::Type>(Smi::cast(marker)->value()); |