Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index 38a7cf02a2a94070505b3bd3de05b4644a377565..0499d3638956a655a394ffe34fa385c149b1d67a 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -91,7 +91,7 @@ int Register::NumAllocatableRegisters() { |
int DoubleRegister::NumRegisters() { |
if (CpuFeatures::IsSupported(FPU)) { |
- return FPURegister::kNumRegisters; |
+ return FPURegister::kMaxNumRegisters; |
} else { |
return 1; |
} |