Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 6488285c3b16ff4861d3c3b3d8d45524d1ad908a..77d4b9b09665e7f793ffef98394890489778ee60 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -2612,14 +2612,6 @@ void LCodeGen::DoAccessArgumentsAt(LAccessArgumentsAt* instr) { |
Register length = ToRegister(instr->length()); |
Register index = ToRegister(instr->index()); |
Register result = ToRegister(instr->result()); |
- |
- // Bailout index is not a valid argument index. Use unsigned check to get |
- // negative check for free. |
- |
- // TODO(plind): Shoud be optimized to do the sub before the DeoptimizeIf(), |
- // as they do in Arm. It will save us an instruction. |
- DeoptimizeIf(ls, instr->environment(), length, Operand(index)); |
- |
// There are two words between the frame pointer and the last argument. |
// Subtracting from length accounts for one of them, add one more. |
__ subu(length, length, index); |