Chromium Code Reviews| Index: src/register-configuration.h |
| diff --git a/src/register-configuration.h b/src/register-configuration.h |
| index f12bc7c07c6dfb4beb79477f5a88ce16502b4c71..5f8bfc5c288a96473617ef641efb4072e5c89492 100644 |
| --- a/src/register-configuration.h |
| +++ b/src/register-configuration.h |
| @@ -14,11 +14,15 @@ namespace internal { |
| // for instruction creation. |
| class RegisterConfiguration { |
| public: |
| + // Define the optimized compiler selector for register configuration |
| + // selection. |
| + enum CompilerSelector { CRANKSHAFT, TURBOFAN }; |
|
danno
2015/10/21 14:09:56
Could you please add a TODO here that this distinc
|
| + |
| // Architecture independent maxes. |
| static const int kMaxGeneralRegisters = 32; |
| static const int kMaxDoubleRegisters = 32; |
| - static const RegisterConfiguration* ArchDefault(); |
| + static const RegisterConfiguration* ArchDefault(CompilerSelector compiler); |
| RegisterConfiguration(int num_general_registers, int num_double_registers, |
| int num_allocatable_general_registers, |