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

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

Issue 1164813007: Config double register number as 1 for X87 Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
Index: src/mips/assembler-mips.h
diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
index c116c13bcddfc746f8c2473fa4ce98e3ea6dd0e4..f7efdfeeae46ff3a3215543ffbc6e67f28c0a253 100644
--- a/src/mips/assembler-mips.h
+++ b/src/mips/assembler-mips.h
@@ -228,6 +228,14 @@ struct FPURegister {
// TODO(turbofan): Proper support for float32.
inline static int NumAllocatableAliasedRegisters();
+ static int NumAllocatableRegistersForTurbo() {
+ return kMaxNumAllocatableRegisters;
+ }
+
+ static int NumAllocatableAliasedRegistersForTurbo() {
+ return NumAllocatableAliasedRegisters();
+ }
+
inline static int ToAllocationIndex(FPURegister reg);
static const char* AllocationIndexToString(int index);

Powered by Google App Engine
This is Rietveld 408576698