Chromium Code Reviews| 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); |