Index: src/ppc/assembler-ppc.h |
diff --git a/src/ppc/assembler-ppc.h b/src/ppc/assembler-ppc.h |
index a9cf730af4eb04e177b8e47d56c7f074f00f12eb..5ca21e93199db0e80be2076d660c1d686b86c27b 100644 |
--- a/src/ppc/assembler-ppc.h |
+++ b/src/ppc/assembler-ppc.h |
@@ -167,7 +167,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 { |
@@ -220,7 +221,8 @@ struct DoubleRegister { |
static const int kMaxNumRegisters = kNumRegisters; |
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(DoubleRegister reg) const { return reg_code == reg.reg_code; } |
int code() const { |