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

Side by Side Diff: src/compiler/gap-resolver.h

Issue 1081373002: [turbofan] cleanup ParallelMove (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/gap-resolver.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_GAP_RESOLVER_H_ 5 #ifndef V8_COMPILER_GAP_RESOLVER_H_
6 #define V8_COMPILER_GAP_RESOLVER_H_ 6 #define V8_COMPILER_GAP_RESOLVER_H_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 16 matching lines...) Expand all
27 }; 27 };
28 28
29 explicit GapResolver(Assembler* assembler) : assembler_(assembler) {} 29 explicit GapResolver(Assembler* assembler) : assembler_(assembler) {}
30 30
31 // Resolve a set of parallel moves, emitting assembler instructions. 31 // Resolve a set of parallel moves, emitting assembler instructions.
32 void Resolve(ParallelMove* parallel_move) const; 32 void Resolve(ParallelMove* parallel_move) const;
33 33
34 private: 34 private:
35 // Perform the given move, possibly requiring other moves to satisfy 35 // Perform the given move, possibly requiring other moves to satisfy
36 // dependencies. 36 // dependencies.
37 void PerformMove(ZoneList<MoveOperands>* moves, MoveOperands* move) const; 37 void PerformMove(ParallelMove* moves, MoveOperands* move) const;
38 38
39 // Assembler used to emit moves and save registers. 39 // Assembler used to emit moves and save registers.
40 Assembler* const assembler_; 40 Assembler* const assembler_;
41 }; 41 };
42 42
43 } // namespace compiler 43 } // namespace compiler
44 } // namespace internal 44 } // namespace internal
45 } // namespace v8 45 } // namespace v8
46 46
47 #endif // V8_COMPILER_GAP_RESOLVER_H_ 47 #endif // V8_COMPILER_GAP_RESOLVER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/gap-resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698