Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: src/mips/assembler-mips.h

Issue 2090993002: Fix '[tests] Don't test moves between different reps in test-gap-resolver.cc' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/mips64/assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698