| OLD | NEW |
| 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/zone-containers.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 namespace compiler { | 13 namespace compiler { |
| 14 | 14 |
| 15 class MoveOptimizer final { | 15 class MoveOptimizer final { |
| 16 public: | 16 public: |
| 17 MoveOptimizer(Zone* local_zone, InstructionSequence* code); | 17 MoveOptimizer(Zone* local_zone, InstructionSequence* code); |
| 18 void Run(); | 18 void Run(); |
| 19 | 19 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 MoveOpVector local_vector_; | 53 MoveOpVector local_vector_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(MoveOptimizer); | 55 DISALLOW_COPY_AND_ASSIGN(MoveOptimizer); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace compiler | 58 } // namespace compiler |
| 59 } // namespace internal | 59 } // namespace internal |
| 60 } // namespace v8 | 60 } // namespace v8 |
| 61 | 61 |
| 62 #endif // V8_COMPILER_MOVE_OPTIMIZER_ | 62 #endif // V8_COMPILER_MOVE_OPTIMIZER_ |
| OLD | NEW |