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_REGISTER_ALLOCATOR_H_ | 5 #ifndef V8_REGISTER_ALLOCATOR_H_ |
6 #define V8_REGISTER_ALLOCATOR_H_ | 6 #define V8_REGISTER_ALLOCATOR_H_ |
7 | 7 |
8 #include "src/compiler/instruction.h" | 8 #include "src/compiler/instruction.h" |
9 #include "src/ostreams.h" | 9 #include "src/ostreams.h" |
10 #include "src/register-configuration.h" | 10 #include "src/register-configuration.h" |
11 #include "src/zone-containers.h" | 11 #include "src/zone/zone-containers.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 namespace compiler { | 15 namespace compiler { |
16 | 16 |
17 enum RegisterKind { GENERAL_REGISTERS, FP_REGISTERS }; | 17 enum RegisterKind { GENERAL_REGISTERS, FP_REGISTERS }; |
18 | 18 |
19 // This class represents a single point of a InstructionOperand's lifetime. For | 19 // This class represents a single point of a InstructionOperand's lifetime. For |
20 // each instruction there are four lifetime positions: | 20 // each instruction there are four lifetime positions: |
21 // | 21 // |
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 RegisterAllocationData* const data_; | 1168 RegisterAllocationData* const data_; |
1169 | 1169 |
1170 DISALLOW_COPY_AND_ASSIGN(LiveRangeConnector); | 1170 DISALLOW_COPY_AND_ASSIGN(LiveRangeConnector); |
1171 }; | 1171 }; |
1172 | 1172 |
1173 } // namespace compiler | 1173 } // namespace compiler |
1174 } // namespace internal | 1174 } // namespace internal |
1175 } // namespace v8 | 1175 } // namespace v8 |
1176 | 1176 |
1177 #endif // V8_REGISTER_ALLOCATOR_H_ | 1177 #endif // V8_REGISTER_ALLOCATOR_H_ |
OLD | NEW |