Index: src/crankshaft/mips64/lithium-codegen-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
index 39121f8170c9166384ff7baef9ecbef6b37e48a8..64eeb8ac9da1905774f88d857b6c41c445f1989e 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
@@ -2402,30 +2402,6 @@ void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) { |
Operand(TestType(instr->hydrogen()))); |
} |
- |
-void LCodeGen::DoGetCachedArrayIndex(LGetCachedArrayIndex* instr) { |
- Register input = ToRegister(instr->value()); |
- Register result = ToRegister(instr->result()); |
- |
- __ AssertString(input); |
- |
- __ lwu(result, FieldMemOperand(input, String::kHashFieldOffset)); |
- __ IndexFromHash(result, result); |
-} |
- |
- |
-void LCodeGen::DoHasCachedArrayIndexAndBranch( |
- LHasCachedArrayIndexAndBranch* instr) { |
- Register input = ToRegister(instr->value()); |
- Register scratch = scratch0(); |
- |
- __ lwu(scratch, |
- FieldMemOperand(input, String::kHashFieldOffset)); |
- __ And(at, scratch, Operand(String::kContainsCachedArrayIndexMask)); |
- EmitBranch(instr, eq, at, Operand(zero_reg)); |
-} |
- |
- |
// Branches to a label or falls through with the answer in flags. Trashes |
// the temp registers, but not the input. |
void LCodeGen::EmitClassOfTest(Label* is_true, |