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

Unified Diff: src/compiler/schedule.cc

Issue 1157663007: Greedy allocator: perf work (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
Index: src/compiler/schedule.cc
diff --git a/src/compiler/schedule.cc b/src/compiler/schedule.cc
index adb80a7b081b7c3ceba52752f589d669e25241bc..927f9e00479d75284506fad20712dd427c6a5e97 100644
--- a/src/compiler/schedule.cc
+++ b/src/compiler/schedule.cc
@@ -336,6 +336,8 @@ std::ostream& operator<<(std::ostream& os, const Schedule& s) {
for (BasicBlock* block : *s.rpo_order()) {
os << "--- BLOCK B" << block->rpo_number();
if (block->deferred()) os << " (deferred)";
+ if (block->loop_header() != nullptr)
+ os << " (in loop: B" << block->loop_header()->rpo_number() << ")";
Mircea Trofin 2015/06/03 05:25:51 much easier to profile when information whether bl
if (block->PredecessorCount() != 0) os << " <- ";
bool comma = false;
for (BasicBlock const* predecessor : block->predecessors()) {
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/disassembler.cc » ('j') | src/disassembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698