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

Unified Diff: src/x87/assembler-x87.cc

Issue 919953002: CPUProfiler: Push deopt reason further to ProfileNode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
Index: src/x87/assembler-x87.cc
diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc
index 0784592cc13be6439bb8cff83c14b4eb7569d4c9..06a9a535b12cbc8c2aedb61f7c1426fecef4fbef 100644
--- a/src/x87/assembler-x87.cc
+++ b/src/x87/assembler-x87.cc
@@ -1920,7 +1920,7 @@ void Assembler::RecordComment(const char* msg, bool force) {
void Assembler::RecordDeoptReason(const int reason, const int raw_position) {
alph 2015/02/12 13:19:46 All these functions seems to be equal. I wonder if
loislo 2015/02/12 15:20:01 I'll do that in another patch
- if (FLAG_trace_deopt) {
+ if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) {
EnsureSpace ensure_space(this);
RecordRelocInfo(RelocInfo::POSITION, raw_position);
RecordRelocInfo(RelocInfo::DEOPT_REASON, reason);

Powered by Google App Engine
This is Rietveld 408576698