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

Unified Diff: src/profile-generator.h

Issue 1013753007: CpuProfiler: collect deopt pc offset for further usage in the inlined functions stack resolver. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 9 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 | « src/cpu-profiler-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/profile-generator.h
diff --git a/src/profile-generator.h b/src/profile-generator.h
index 7ea168bcdafbb3f1994dfc16e9d4eaf8f11698c7..4f44c4c8abc9ba55ec1411234662307c73734fa0 100644
--- a/src/profile-generator.h
+++ b/src/profile-generator.h
@@ -65,10 +65,12 @@ class CodeEntry {
}
const char* bailout_reason() const { return bailout_reason_; }
- void set_deopt_info(const char* deopt_reason, SourcePosition position) {
+ void set_deopt_info(const char* deopt_reason, SourcePosition position,
+ size_t pc_offset) {
DCHECK(deopt_position_.IsUnknown());
deopt_reason_ = deopt_reason;
deopt_position_ = position;
+ pc_offset_ = pc_offset;
}
const char* deopt_reason() const { return deopt_reason_; }
SourcePosition deopt_position() const { return deopt_position_; }
@@ -121,6 +123,7 @@ class CodeEntry {
const char* bailout_reason_;
const char* deopt_reason_;
SourcePosition deopt_position_;
+ size_t pc_offset_;
JITLineInfoTable* line_info_;
Address instruction_start_;
« no previous file with comments | « src/cpu-profiler-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698