Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 53d5c84248d319864a801accda8fbe5715d057d2..16f56685d28631030af443e7c414e23e63cd787f 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -119,7 +119,8 @@ struct Register { |
return r; |
} |
const char* ToString(); |
- bool IsAllocatable() const; |
+ bool IsAllocatable(RegisterConfiguration::CompilerSelector compiler = |
+ RegisterConfiguration::CRANKSHAFT) const; |
bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } |
bool is(Register reg) const { return reg_code == reg.reg_code; } |
int code() const { |
@@ -162,7 +163,8 @@ struct SwVfpRegister { |
static const int kSizeInBytes = 4; |
const char* ToString(); |
- bool IsAllocatable() const; |
+ bool IsAllocatable(RegisterConfiguration::CompilerSelector compiler = |
+ RegisterConfiguration::CRANKSHAFT) const; |
bool is_valid() const { return 0 <= reg_code && reg_code < 32; } |
bool is(SwVfpRegister reg) const { return reg_code == reg.reg_code; } |
int code() const { |
@@ -209,7 +211,8 @@ struct DwVfpRegister { |
static const int kSizeInBytes = 8; |
const char* ToString(); |
- bool IsAllocatable() const; |
+ bool IsAllocatable(RegisterConfiguration::CompilerSelector compiler = |
+ RegisterConfiguration::CRANKSHAFT) const; |
bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } |
bool is(DwVfpRegister reg) const { return reg_code == reg.reg_code; } |
int code() const { |