Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index dbc45fc2da6c84e339102cc11a8598741c4cc0b5..412a59cc7d61aba1a7011fc7955fd34650dd6182 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -888,6 +888,11 @@ void OptimizedFrame::GetFunctions(List<JSFunction*>* functions) { |
} |
+int ArgumentsAdaptorFrame::GetNumberOfIncomingArguments() const { |
+ return Smi::cast(GetExpression(0))->value(); |
+} |
+ |
+ |
Address ArgumentsAdaptorFrame::GetCallerStackPointer() const { |
return fp() + StandardFrameConstants::kCallerSPOffset; |
} |