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

Side by Side Diff: src/compiler/move-optimizer.h

Issue 1531453003: [turbofan] Removed "auto". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed merge conflicts 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/move-optimizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_MOVE_OPTIMIZER_ 5 #ifndef V8_COMPILER_MOVE_OPTIMIZER_
6 #define V8_COMPILER_MOVE_OPTIMIZER_ 6 #define V8_COMPILER_MOVE_OPTIMIZER_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/zone-containers.h" 9 #include "src/zone-containers.h"
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 InstructionSequence* code() const { return code_; } 24 InstructionSequence* code() const { return code_; }
25 Zone* local_zone() const { return local_zone_; } 25 Zone* local_zone() const { return local_zone_; }
26 Zone* code_zone() const { return code()->zone(); } 26 Zone* code_zone() const { return code()->zone(); }
27 MoveOpVector& temp_vector_0() { return temp_vector_0_; } 27 MoveOpVector& temp_vector_0() { return temp_vector_0_; }
28 MoveOpVector& temp_vector_1() { return temp_vector_1_; } 28 MoveOpVector& temp_vector_1() { return temp_vector_1_; }
29 29
30 void CompressBlock(InstructionBlock* blocke); 30 void CompressBlock(InstructionBlock* blocke);
31 void CompressMoves(MoveOpVector* eliminated, ParallelMove* left, 31 void CompressMoves(MoveOpVector* eliminated, ParallelMove* left,
32 ParallelMove* right); 32 ParallelMove* right);
33 Instruction* LastInstruction(InstructionBlock* block); 33 const Instruction* LastInstruction(const InstructionBlock* block) const;
34 void OptimizeMerge(InstructionBlock* block); 34 void OptimizeMerge(InstructionBlock* block);
35 void FinalizeMoves(Instruction* instr); 35 void FinalizeMoves(Instruction* instr);
36 36
37 Zone* const local_zone_; 37 Zone* const local_zone_;
38 InstructionSequence* const code_; 38 InstructionSequence* const code_;
39 Instructions to_finalize_; 39 Instructions to_finalize_;
40 MoveOpVector temp_vector_0_; 40 MoveOpVector temp_vector_0_;
41 MoveOpVector temp_vector_1_; 41 MoveOpVector temp_vector_1_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(MoveOptimizer); 43 DISALLOW_COPY_AND_ASSIGN(MoveOptimizer);
44 }; 44 };
45 45
46 } // namespace compiler 46 } // namespace compiler
47 } // namespace internal 47 } // namespace internal
48 } // namespace v8 48 } // namespace v8
49 49
50 #endif // V8_COMPILER_MOVE_OPTIMIZER_ 50 #endif // V8_COMPILER_MOVE_OPTIMIZER_
OLDNEW
« 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