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

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

Issue 1533423003: [turbofan] Remove some dead code in move optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 aee0c78191bf074d97068967817fab1892f9afc6..c9a3289d6b26ab625f6b13bc4525d857358c3082 100644
--- a/src/compiler/move-optimizer.h
+++ b/src/compiler/move-optimizer.h
@@ -24,12 +24,10 @@ class MoveOptimizer final {
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_; }
+ MoveOpVector& local_vector() { return local_vector_; }
void CompressBlock(InstructionBlock* blocke);
- void CompressMoves(MoveOpVector* eliminated, ParallelMove* left,
- ParallelMove* right);
+ void CompressMoves(ParallelMove* left, ParallelMove* right);
const Instruction* LastInstruction(const InstructionBlock* block) const;
void OptimizeMerge(InstructionBlock* block);
void FinalizeMoves(Instruction* instr);
@@ -37,8 +35,7 @@ class MoveOptimizer final {
Zone* const local_zone_;
InstructionSequence* const code_;
Instructions to_finalize_;
- MoveOpVector temp_vector_0_;
- MoveOpVector temp_vector_1_;
+ MoveOpVector local_vector_;
DISALLOW_COPY_AND_ASSIGN(MoveOptimizer);
};
« 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