Index: src/mips/assembler-mips.h |
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h |
index c595cc9e2e118f77d40b15d3dd42fd71e0f20064..ee55dc0d2b18b1dad48975c01c90bcea45a3c20f 100644 |
--- a/src/mips/assembler-mips.h |
+++ b/src/mips/assembler-mips.h |
@@ -126,7 +126,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 { |
@@ -174,7 +175,8 @@ struct FPURegister { |
// number of Double regs (64-bit regs, or FPU-reg-pairs). |
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(FPURegister reg) const { return reg_code == reg.reg_code; } |
FPURegister low() const { |