Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index a30ca989ab52cec5009a7a0f06e61620ebeb88fd..0e8f51db2e5d8991533be33595211eb72cfe893d 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -2829,41 +2829,6 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) { |
context()->DropAndPlug(1, r0); |
} |
- |
-void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- VisitForAccumulatorValue(args->at(0)); |
- |
- Label materialize_true, materialize_false; |
- Label* if_true = NULL; |
- Label* if_false = NULL; |
- Label* fall_through = NULL; |
- context()->PrepareTest(&materialize_true, &materialize_false, |
- &if_true, &if_false, &fall_through); |
- |
- __ ldr(r0, FieldMemOperand(r0, String::kHashFieldOffset)); |
- __ tst(r0, Operand(String::kContainsCachedArrayIndexMask)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(eq, if_true, if_false, fall_through); |
- |
- context()->Plug(if_true, if_false); |
-} |
- |
- |
-void FullCodeGenerator::EmitGetCachedArrayIndex(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- VisitForAccumulatorValue(args->at(0)); |
- |
- __ AssertString(r0); |
- |
- __ ldr(r0, FieldMemOperand(r0, String::kHashFieldOffset)); |
- __ IndexFromHash(r0, r0); |
- |
- context()->Plug(r0); |
-} |
- |
- |
void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(1, args->length()); |