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

Unified Diff: src/arm/assembler-arm.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 | « no previous file | src/arm64/assembler-arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/assembler-arm.h
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
index 53d5c84248d319864a801accda8fbe5715d057d2..16f56685d28631030af443e7c414e23e63cd787f 100644
--- a/src/arm/assembler-arm.h
+++ b/src/arm/assembler-arm.h
@@ -119,7 +119,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 {
@@ -162,7 +163,8 @@ struct SwVfpRegister {
static const int kSizeInBytes = 4;
const char* ToString();
- bool IsAllocatable() const;
+ bool IsAllocatable(RegisterConfiguration::CompilerSelector compiler =
+ RegisterConfiguration::CRANKSHAFT) const;
bool is_valid() const { return 0 <= reg_code && reg_code < 32; }
bool is(SwVfpRegister reg) const { return reg_code == reg.reg_code; }
int code() const {
@@ -209,7 +211,8 @@ struct DwVfpRegister {
static const int kSizeInBytes = 8;
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(DwVfpRegister reg) const { return reg_code == reg.reg_code; }
int code() const {
« no previous file with comments | « no previous file | src/arm64/assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698