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

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

Issue 1041163002: [turbofan] smash GapInstruction into Instruction (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arm compile Created 5 years, 9 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 | « src/compiler/jump-threading.cc ('k') | 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 e5fa1258e0b5fe8c7c6ed9cf3e7effb5bb39ffc5..952fcc09a2e86a6b2920780c0d6f09d0593d4e67 100644
--- a/src/compiler/move-optimizer.h
+++ b/src/compiler/move-optimizer.h
@@ -19,7 +19,7 @@ class MoveOptimizer FINAL {
private:
typedef ZoneVector<MoveOperands*> MoveOpVector;
- typedef ZoneVector<GapInstruction*> GapInstructions;
+ typedef ZoneVector<Instruction*> Instructions;
InstructionSequence* code() const { return code_; }
Zone* local_zone() const { return local_zone_; }
@@ -30,13 +30,13 @@ class MoveOptimizer FINAL {
void CompressBlock(InstructionBlock* blocke);
void CompressMoves(MoveOpVector* eliminated, ParallelMove* left,
ParallelMove* right);
- GapInstruction* LastGap(InstructionBlock* block);
+ Instruction* LastInstruction(InstructionBlock* block);
void OptimizeMerge(InstructionBlock* block);
- void FinalizeMoves(GapInstruction* gap);
+ void FinalizeMoves(Instruction* instr);
Zone* const local_zone_;
InstructionSequence* const code_;
- GapInstructions to_finalize_;
+ Instructions to_finalize_;
MoveOpVector temp_vector_0_;
MoveOpVector temp_vector_1_;
« no previous file with comments | « src/compiler/jump-threading.cc ('k') | src/compiler/move-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698