| Index: src/compiler/instruction.h
|
| diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
|
| index f15a0ecfaab11f1a5a8c426b03af571dcbf7d0d2..594e6de5044c0de3c8190cd5510eeca2a7e61048 100644
|
| --- a/src/compiler/instruction.h
|
| +++ b/src/compiler/instruction.h
|
| @@ -94,6 +94,9 @@ class InstructionOperand {
|
| return this->GetCanonicalizedValue() < that.GetCanonicalizedValue();
|
| }
|
|
|
| + void Print(const RegisterConfiguration* config) const;
|
| + void Print() const;
|
| +
|
| protected:
|
| explicit InstructionOperand(Kind kind) : value_(KindField::encode(kind)) {}
|
|
|
| @@ -588,6 +591,9 @@ class MoveOperands final : public ZoneObject {
|
| return source_.IsInvalid();
|
| }
|
|
|
| + void Print(const RegisterConfiguration* config) const;
|
| + void Print() const;
|
| +
|
| private:
|
| InstructionOperand source_;
|
| InstructionOperand destination_;
|
| @@ -791,6 +797,9 @@ class Instruction final {
|
| ParallelMove* const* parallel_moves() const { return ¶llel_moves_[0]; }
|
| ParallelMove** parallel_moves() { return ¶llel_moves_[0]; }
|
|
|
| + void Print(const RegisterConfiguration* config) const;
|
| + void Print() const;
|
| +
|
| private:
|
| explicit Instruction(InstructionCode opcode);
|
|
|
| @@ -1246,6 +1255,8 @@ class InstructionSequence final : public ZoneObject {
|
| }
|
| return false;
|
| }
|
| + void Print(const RegisterConfiguration* config) const;
|
| + void Print() const;
|
|
|
| private:
|
| friend std::ostream& operator<<(std::ostream& os,
|
|
|