Commit 6149d5ec authored by dcarney's avatar dcarney Committed by Commit bot

[turbofan] cleanup MoveOptimizer a little

BUG=

Review URL: https://codereview.chromium.org/888813002

Cr-Commit-Position: refs/heads/master@{#26350}
parent 75c1c0df
This diff is collapsed.
......@@ -19,18 +19,22 @@ class MoveOptimizer FINAL {
private:
typedef ZoneVector<MoveOperands*> MoveOpVector;
typedef ZoneVector<GapInstruction*> GapInstructions;
InstructionSequence* code() const { return code_; }
Zone* local_zone() const { return local_zone_; }
Zone* code_zone() const { return code()->zone(); }
MoveOpVector& temp_vector_0() { return temp_vector_0_; }
MoveOpVector& temp_vector_1() { return temp_vector_1_; }
void CompressBlock(InstructionBlock* blocke);
void CompressMoves(MoveOpVector* eliminated, ParallelMove* left,
ParallelMove* right);
void FinalizeMoves(MoveOpVector* loads, MoveOpVector* new_moves,
GapInstruction* gap);
void FinalizeMoves(GapInstruction* gap);
Zone* const local_zone_;
InstructionSequence* const code_;
GapInstructions to_finalize_;
MoveOpVector temp_vector_0_;
MoveOpVector temp_vector_1_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment