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_REGISTER_CONFIGURATION_H_ | 5 #ifndef V8_COMPILER_REGISTER_CONFIGURATION_H_ |
6 #define V8_COMPILER_REGISTER_CONFIGURATION_H_ | 6 #define V8_COMPILER_REGISTER_CONFIGURATION_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/base/macros.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 namespace compiler { | 12 namespace compiler { |
13 | 13 |
14 // An architecture independent representation of the sets of registers available | 14 // An architecture independent representation of the sets of registers available |
15 // for instruction creation. | 15 // for instruction creation. |
16 class RegisterConfiguration { | 16 class RegisterConfiguration { |
17 public: | 17 public: |
18 // Architecture independent maxes. | 18 // Architecture independent maxes. |
(...skipping 28 matching lines...) Expand all Loading... |
47 const int num_aliased_double_registers_; | 47 const int num_aliased_double_registers_; |
48 const char* const* general_register_names_; | 48 const char* const* general_register_names_; |
49 const char* const* double_register_names_; | 49 const char* const* double_register_names_; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace compiler | 52 } // namespace compiler |
53 } // namespace internal | 53 } // namespace internal |
54 } // namespace v8 | 54 } // namespace v8 |
55 | 55 |
56 #endif // V8_COMPILER_REGISTER_CONFIGURATION_H_ | 56 #endif // V8_COMPILER_REGISTER_CONFIGURATION_H_ |
OLD | NEW |