Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index f2e7c6cfd44a64ed30c49aa5931c0d91343a9e56..929397ad2de63101d01b9dd2ec34893815c37d71 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -125,7 +125,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 { |
@@ -165,7 +166,8 @@ struct XMMRegister { |
return result; |
} |
- bool IsAllocatable() const; |
+ bool IsAllocatable(RegisterConfiguration::CompilerSelector compiler = |
+ RegisterConfiguration::CRANKSHAFT) const; |
bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } |
int code() const { |