Index: src/register-configuration.h |
diff --git a/src/register-configuration.h b/src/register-configuration.h |
index db57026b52054d1d27d5ebb001bf600c5f750f5e..2cb7c91eec83a052ddbf0a2bac59b044096d5636 100644 |
--- a/src/register-configuration.h |
+++ b/src/register-configuration.h |
@@ -35,6 +35,7 @@ class RegisterConfiguration { |
RegisterConfiguration(int num_general_registers, int num_double_registers, |
int num_allocatable_general_registers, |
int num_allocatable_double_registers, |
+ int num_allocatable_aliased_double_registers, |
const int* allocatable_general_codes, |
const int* allocatable_double_codes, |
AliasingKind fp_aliasing_kind, |
@@ -56,6 +57,12 @@ class RegisterConfiguration { |
int num_allocatable_double_registers() const { |
return num_allocatable_double_registers_; |
} |
+ // TODO(bbudge): This is a temporary work-around required because our |
+ // register allocator does not yet support the aliasing of single/double |
+ // registers on ARM. |
+ int num_allocatable_aliased_double_registers() const { |
+ return num_allocatable_aliased_double_registers_; |
+ } |
int num_allocatable_simd128_registers() const { |
return num_allocatable_simd128_registers_; |
} |
@@ -135,6 +142,7 @@ class RegisterConfiguration { |
int num_allocatable_general_registers_; |
int num_allocatable_float_registers_; |
int num_allocatable_double_registers_; |
+ int num_allocatable_aliased_double_registers_; |
int num_allocatable_simd128_registers_; |
int32_t allocatable_general_codes_mask_; |
int32_t allocatable_float_codes_mask_; |