Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 572e90792e8783049eceec88aa0ee6801445aee0..74131e874be003e4889f89269ec930e8d28d3d6c 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -1025,8 +1025,8 @@ class JavaScriptFrame : public StandardFrame { |
// Determine the code for the frame. |
Code* unchecked_code() const override; |
- // Return a list with JSFunctions of this frame. |
- virtual void GetFunctions(List<JSFunction*>* functions) const; |
+ // Return a list with {SharedFunctionInfo} objects of this frame. |
+ virtual void GetFunctions(List<SharedFunctionInfo*>* functions) const; |
// Lookup exception handler for current {pc}, returns -1 if none found. Also |
// returns data associated with the handler site specific to the frame type: |
@@ -1105,10 +1105,10 @@ class OptimizedFrame : public JavaScriptFrame { |
// GC support. |
void Iterate(ObjectVisitor* v) const override; |
- // Return a list with JSFunctions of this frame. |
+ // Return a list with {SharedFunctionInfo} objects of this frame. |
// The functions are ordered bottom-to-top (i.e. functions.last() |
// is the top-most activation) |
- void GetFunctions(List<JSFunction*>* functions) const override; |
+ void GetFunctions(List<SharedFunctionInfo*>* functions) const override; |
void Summarize( |
List<FrameSummary>* frames, |