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

Unified Diff: src/assembler.cc

Issue 1973993002: [compiler] Profiler reconstructs inlined frames for deopts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix build. Created 4 years, 7 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/arm64/assembler-arm64.h ('k') | src/compiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index 61793ff1886272aba897c1a96d61f1f17e75dc77..633571f194446d9ec3edfe78e81ad42eeec0f94f 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -831,7 +831,7 @@ const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) {
case DEOPT_REASON:
return "deopt reason";
case DEOPT_ID:
- return "deopt inlining id";
+ return "deopt index";
case CONST_POOL:
return "constant pool";
case VENEER_POOL:
@@ -2057,13 +2057,12 @@ int ConstantPoolBuilder::Emit(Assembler* assm) {
// Platform specific but identical code for all the platforms.
-void Assembler::RecordDeoptReason(const int reason, int raw_position,
- int inlining_id) {
+void Assembler::RecordDeoptReason(const int reason, int raw_position, int id) {
if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) {
EnsureSpace ensure_space(this);
RecordRelocInfo(RelocInfo::POSITION, raw_position);
RecordRelocInfo(RelocInfo::DEOPT_REASON, reason);
- RecordRelocInfo(RelocInfo::DEOPT_ID, inlining_id);
+ RecordRelocInfo(RelocInfo::DEOPT_ID, id);
}
}
« no previous file with comments | « src/arm64/assembler-arm64.h ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698