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

Unified Diff: src/compiler/instruction.h

Issue 2293413004: trace-turbo should respect --redirect-code-traces (Closed)
Patch Set: Created 4 years, 3 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/instruction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.h
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
index a01f508e19c9f7670623ccd0388ec7512195afe4..92371ebff5447937c0c31c6c68275c4dda9683e1 100644
--- a/src/compiler/instruction.h
+++ b/src/compiler/instruction.h
@@ -105,8 +105,8 @@ class InstructionOperand {
bool InterferesWith(const InstructionOperand& that) const;
- void Print(const RegisterConfiguration* config) const;
- void Print() const;
+ void Print(std::ostream& os, const RegisterConfiguration* config) const;
+ void Print(std::ostream& os) const;
protected:
explicit InstructionOperand(Kind kind) : value_(KindField::encode(kind)) {}
@@ -672,8 +672,8 @@ class MoveOperands final : public ZoneObject {
return source_.IsInvalid();
}
- void Print(const RegisterConfiguration* config) const;
- void Print() const;
+ void Print(std::ostream& os, const RegisterConfiguration* config) const;
+ void Print(std::ostream& os) const;
private:
InstructionOperand source_;
@@ -912,8 +912,8 @@ class Instruction final {
block_ = block;
}
- void Print(const RegisterConfiguration* config) const;
- void Print() const;
+ void Print(std::ostream& os, const RegisterConfiguration* config) const;
+ void Print(std::ostream& os) const;
private:
explicit Instruction(InstructionCode opcode);
@@ -1441,11 +1441,12 @@ class InstructionSequence final : public ZoneObject {
}
return false;
}
- void Print(const RegisterConfiguration* config) const;
- void Print() const;
+ void Print(std::ostream& os, const RegisterConfiguration* config) const;
+ void Print(std::ostream& os) const;
- void PrintBlock(const RegisterConfiguration* config, int block_id) const;
- void PrintBlock(int block_id) const;
+ void PrintBlock(std::ostream& os, const RegisterConfiguration* config,
+ int block_id) const;
+ void PrintBlock(std::ostream& os, int block_id) const;
void ValidateEdgeSplitForm() const;
void ValidateDeferredBlockExitPaths() const;
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698