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

Unified Diff: src/mips64/assembler-mips64.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/mips64/assembler-mips64.h
diff --git a/src/mips64/assembler-mips64.h b/src/mips64/assembler-mips64.h
index 9aabe1b3164518eaa78be7400b7ae081821d91eb..1d630044b601195ed36fc143a0d4b3a54ea80777 100644
--- a/src/mips64/assembler-mips64.h
+++ b/src/mips64/assembler-mips64.h
@@ -218,6 +218,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