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

Unified Diff: src/compiler/graph-visualizer.h

Issue 1094063002: [turbofan] split register allocator into little pieces (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph-visualizer.h
diff --git a/src/compiler/graph-visualizer.h b/src/compiler/graph-visualizer.h
index 17094c23c57c37a93433565bbfba91aa193f1c97..10ea53818c112355fe30de639645a69c9c7bc168 100644
--- a/src/compiler/graph-visualizer.h
+++ b/src/compiler/graph-visualizer.h
@@ -16,7 +16,7 @@ namespace compiler {
class Graph;
class InstructionSequence;
-class RegisterAllocator;
+class RegisterAllocationData;
class Schedule;
class SourcePositionTable;
@@ -67,18 +67,19 @@ struct AsC1V {
const char* phase_;
};
-struct AsC1VAllocator {
- explicit AsC1VAllocator(const char* phase,
- const RegisterAllocator* allocator = NULL)
- : phase_(phase), allocator_(allocator) {}
+struct AsC1VRegisterAllocationData {
+ explicit AsC1VRegisterAllocationData(
+ const char* phase, const RegisterAllocationData* data = nullptr)
+ : phase_(phase), data_(data) {}
const char* phase_;
- const RegisterAllocator* allocator_;
+ const RegisterAllocationData* data_;
};
std::ostream& operator<<(std::ostream& os, const AsDOT& ad);
std::ostream& operator<<(std::ostream& os, const AsC1VCompilation& ac);
std::ostream& operator<<(std::ostream& os, const AsC1V& ac);
-std::ostream& operator<<(std::ostream& os, const AsC1VAllocator& ac);
+std::ostream& operator<<(std::ostream& os,
+ const AsC1VRegisterAllocationData& ac);
} // namespace compiler
} // namespace internal
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698