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

Unified Diff: src/compiler/move-optimizer.h

Issue 888813002: [turbofan] cleanup MoveOptimizer a little (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/move-optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/move-optimizer.h
diff --git a/src/compiler/move-optimizer.h b/src/compiler/move-optimizer.h
index bbce6867d613241011fd491774cd85b481dd0b03..2bde09eae58eef2731add65e96a36c834a53f109 100644
--- a/src/compiler/move-optimizer.h
+++ b/src/compiler/move-optimizer.h
@@ -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_;
« no previous file with comments | « no previous file | src/compiler/move-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698