| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/lithium.h" | 10 #include "src/lithium.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 class LCodeGen; | 15 class LCodeGen; |
| 16 class LGapResolver; | 16 class LGapResolver; |
| 17 | 17 |
| 18 class LGapResolver FINAL BASE_EMBEDDED { | 18 class LGapResolver final BASE_EMBEDDED { |
| 19 public: | 19 public: |
| 20 explicit LGapResolver(LCodeGen* owner); | 20 explicit LGapResolver(LCodeGen* owner); |
| 21 | 21 |
| 22 // Resolve a set of parallel moves, emitting assembler instructions. | 22 // Resolve a set of parallel moves, emitting assembler instructions. |
| 23 void Resolve(LParallelMove* parallel_move); | 23 void Resolve(LParallelMove* parallel_move); |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // Build the initial list of moves. | 26 // Build the initial list of moves. |
| 27 void BuildInitialMoveList(LParallelMove* parallel_move); | 27 void BuildInitialMoveList(LParallelMove* parallel_move); |
| 28 | 28 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 51 ZoneList<LMoveOperands> moves_; | 51 ZoneList<LMoveOperands> moves_; |
| 52 | 52 |
| 53 int root_index_; | 53 int root_index_; |
| 54 bool in_cycle_; | 54 bool in_cycle_; |
| 55 LOperand* saved_destination_; | 55 LOperand* saved_destination_; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } } // namespace v8::internal | 58 } } // namespace v8::internal |
| 59 | 59 |
| 60 #endif // V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ | 60 #endif // V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ |
| OLD | NEW |