Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index b76d51496afd11282beda9a91010862c9a938cd9..da3ab6b58fa93a0f1009069e030be357870e9d0c 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -2387,30 +2387,6 @@ void LCodeGen::DoHasInstanceTypeAndBranch(LHasInstanceTypeAndBranch* instr) { |
EmitBranch(instr, BranchCondition(instr->hydrogen())); |
} |
- |
-void LCodeGen::DoGetCachedArrayIndex(LGetCachedArrayIndex* instr) { |
- Register input = ToRegister(instr->value()); |
- Register result = ToRegister(instr->result()); |
- |
- __ AssertString(input); |
- |
- __ ldr(result, FieldMemOperand(input, String::kHashFieldOffset)); |
- __ IndexFromHash(result, result); |
-} |
- |
- |
-void LCodeGen::DoHasCachedArrayIndexAndBranch( |
- LHasCachedArrayIndexAndBranch* instr) { |
- Register input = ToRegister(instr->value()); |
- Register scratch = scratch0(); |
- |
- __ ldr(scratch, |
- FieldMemOperand(input, String::kHashFieldOffset)); |
- __ tst(scratch, Operand(String::kContainsCachedArrayIndexMask)); |
- EmitBranch(instr, eq); |
-} |
- |
- |
// 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, |