Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 0cadddfbdabc9db29b4e2d7be254cad285ac10f3..a30f5b5efa35715743935e41c122ef8d61e802b5 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -2835,23 +2835,6 @@ void StringToNumberStub::Generate(MacroAssembler* masm) { |
__ TailCallRuntime(Runtime::kStringToNumber); |
} |
-void ToLengthStub::Generate(MacroAssembler* masm) { |
- // The ToLength stub takes on argument in a0. |
- Label not_smi, positive_smi; |
- __ JumpIfNotSmi(a0, ¬_smi); |
- STATIC_ASSERT(kSmiTag == 0); |
- __ Branch(&positive_smi, ge, a0, Operand(zero_reg)); |
- __ mov(a0, zero_reg); |
- __ bind(&positive_smi); |
- __ Ret(USE_DELAY_SLOT); |
- __ mov(v0, a0); |
- __ bind(¬_smi); |
- |
- __ push(a0); // Push argument. |
- __ TailCallRuntime(Runtime::kToLength); |
-} |
- |
- |
void ToStringStub::Generate(MacroAssembler* masm) { |
// The ToString stub takes on argument in a0. |
Label is_number; |