Chromium Code Reviews

Unified Diff: src/lithium-codegen.cc

Issue 910773002: Propagate Deopt reason to cpu-profiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« src/deoptimizer.cc ('K') | « src/lithium-codegen.h ('k') | src/log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lithium-codegen.cc
diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc
index 12d8e2f3eebbf79b3ce1af604d133bf10dbfa5c6..242db222f2db03c60eaa3828cc1a02e36c119981 100644
--- a/src/lithium-codegen.cc
+++ b/src/lithium-codegen.cc
@@ -152,8 +152,8 @@ void LCodeGenBase::Comment(const char* format, ...) {
}
-void LCodeGenBase::DeoptComment(const Deoptimizer::Reason& reason) {
- masm()->RecordDeoptReason(reason.deopt_reason, reason.raw_position);
+void LCodeGenBase::DeoptComment(const Deoptimizer::DeoptInfo& deopt_info) {
+ masm()->RecordDeoptReason(deopt_info.deopt_reason, deopt_info.raw_position);
}
« src/deoptimizer.cc ('K') | « src/lithium-codegen.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine