Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: src/frames.h

Issue 2405173007: [Interpreter] Print information about interpreted functions when tracing ics. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698