Index: src/s390/assembler-s390.h |
diff --git a/src/s390/assembler-s390.h b/src/s390/assembler-s390.h |
index 30a2019fc88efddc39047bbcdd066f43e6e10900..a2962203ccd07244b73e0b72a9011151ba041a29 100644 |
--- a/src/s390/assembler-s390.h |
+++ b/src/s390/assembler-s390.h |
@@ -146,7 +146,8 @@ struct Register { |
} |
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 { |
@@ -201,7 +202,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; } |