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

Unified Diff: src/compiler/register-allocator.h

Issue 1422333003: [turbofan] optimize redundant moves around splinter sites (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/compiler/move-optimizer.cc ('k') | src/compiler/register-allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/register-allocator.h
diff --git a/src/compiler/register-allocator.h b/src/compiler/register-allocator.h
index a7a1f0073bd333f479f8f95c0d04470481c0822e..2a12b252d8222dacf1904477fbcf6f46250db25e 100644
--- a/src/compiler/register-allocator.h
+++ b/src/compiler/register-allocator.h
@@ -773,13 +773,6 @@ class RegisterAllocationData final : public ZoneObject {
PhiMapValue* GetPhiMapValueFor(int virtual_register);
bool IsBlockBoundary(LifetimePosition pos) const;
- void Print(const InstructionSequence* instructionSequence);
- void Print(const Instruction* instruction);
- void Print(const LiveRange* range, bool with_children = false);
- void Print(const InstructionOperand& op);
- void Print(const MoveOperands* move);
- void Print(const SpillRange* spill_range);
-
private:
int GetNextLiveRangeId();
@@ -806,6 +799,16 @@ class RegisterAllocationData final : public ZoneObject {
};
+void Print(const RegisterConfiguration* config,
+ const InstructionSequence* instructionSequence);
+void Print(const RegisterConfiguration* config, const Instruction* instruction);
+void Print(const RegisterConfiguration* config, const LiveRange* range,
+ bool with_children = false);
+void Print(const RegisterConfiguration* config, const InstructionOperand& op);
+void Print(const RegisterConfiguration* config, const MoveOperands* move);
+void Print(const RegisterConfiguration* config, const SpillRange* spill_range);
Jarin 2015/10/29 07:37:25 Why did you move the printing out of the class? We
Mircea Trofin 2015/10/29 14:14:40 I needed to visualize a few things (InstructionSeq
Jarin 2015/10/29 14:32:13 I understand, but why can't you move the printing
+
+
class ConstraintBuilder final : public ZoneObject {
public:
explicit ConstraintBuilder(RegisterAllocationData* data);
« no previous file with comments | « src/compiler/move-optimizer.cc ('k') | src/compiler/register-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698