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

Unified Diff: src/crankshaft/lithium-codegen.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/crankshaft/lithium-codegen.h ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/lithium-codegen.cc
diff --git a/src/crankshaft/lithium-codegen.cc b/src/crankshaft/lithium-codegen.cc
index 9c2c579f4413fe87985644a65c05f135e5d48f38..4bf2100f07ee5b4733136712efbd171af82eda25 100644
--- a/src/crankshaft/lithium-codegen.cc
+++ b/src/crankshaft/lithium-codegen.cc
@@ -158,9 +158,9 @@ void LCodeGenBase::Comment(const char* format, ...) {
void LCodeGenBase::DeoptComment(const Deoptimizer::DeoptInfo& deopt_info) {
SourcePosition position = deopt_info.position;
- int inlining_id = deopt_info.inlining_id;
+ int deopt_id = deopt_info.deopt_id;
int raw_position = position.IsUnknown() ? 0 : position.raw();
- masm()->RecordDeoptReason(deopt_info.deopt_reason, raw_position, inlining_id);
+ masm()->RecordDeoptReason(deopt_info.deopt_reason, raw_position, deopt_id);
}
@@ -366,11 +366,9 @@ void LCodeGenBase::PopulateDeoptimizationLiteralsWithInlinedFunctions() {
}
Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo(
- LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) {
- HEnterInlined* enter_inlined = instr->environment()->entry();
- int inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0;
+ LInstruction* instr, Deoptimizer::DeoptReason deopt_reason, int deopt_id) {
Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(),
- deopt_reason, inlining_id);
+ deopt_reason, deopt_id);
return deopt_info;
}
} // namespace internal
« no previous file with comments | « src/crankshaft/lithium-codegen.h ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698