Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 373f4de92c63309290940ae06f6ff48f87fc706b..301395ac3b9c9e92d6bd6526ff2b8a7e54183eb8 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -871,8 +871,8 @@ class JavaScriptFrame : public StandardFrame { |
return static_cast<JavaScriptFrame*>(frame); |
} |
- static void PrintFunctionAndOffset(JSFunction* function, Code* code, |
- Address pc, FILE* file, |
+ static void PrintFunctionAndOffset(JSFunction* function, AbstractCode* code, |
+ int code_offset, FILE* file, |
bool print_line_number); |
static void PrintTop(Isolate* isolate, FILE* file, bool print_args, |
@@ -984,6 +984,8 @@ class InterpretedFrame : public JavaScriptFrame { |
List<FrameSummary>* frames, |
FrameSummary::Mode mode = FrameSummary::kExactSummary) const override; |
+ static int GetBytecodeOffset(Address fp); |
+ |
protected: |
inline explicit InterpretedFrame(StackFrameIteratorBase* iterator); |