Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 0ac1c8a313e6e61f3ac4554f111fb6ed81d60982..16e15c8f28cac87d192ad5b244746b15ed110fce 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -2280,30 +2280,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); |
- |
- __ lw(result, FieldMemOperand(input, String::kHashFieldOffset)); |
- __ IndexFromHash(result, result); |
-} |
- |
- |
-void LCodeGen::DoHasCachedArrayIndexAndBranch( |
- LHasCachedArrayIndexAndBranch* instr) { |
- Register input = ToRegister(instr->value()); |
- Register scratch = scratch0(); |
- |
- __ lw(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, |