Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index 9c9f611ed05a1653ebf473404c754a11cd1fda4b..d922bfac6619b32a3011c0868e549d4ffaa923e1 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -81,29 +81,17 @@ bool Operand::is_reg() const { |
int Register::NumAllocatableRegisters() { |
- if (CpuFeatures::IsSupported(FPU)) { |
return kMaxNumAllocatableRegisters; |
- } else { |
- return kMaxNumAllocatableRegisters - kGPRsPerNonFPUDouble; |
- } |
} |
int DoubleRegister::NumRegisters() { |
- if (CpuFeatures::IsSupported(FPU)) { |
return FPURegister::kMaxNumRegisters; |
- } else { |
- return 1; |
- } |
} |
int DoubleRegister::NumAllocatableRegisters() { |
- if (CpuFeatures::IsSupported(FPU)) { |
return FPURegister::kMaxNumAllocatableRegisters; |
- } else { |
- return 1; |
- } |
} |