Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 7a7089dc854d87b8c4d4bc0377d687d7292980f9..855161b768e9febced6d434579a416df47e5433c 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -2766,38 +2766,6 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) { |
context()->DropAndPlug(1, r2); |
} |
-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); |
- |
- __ LoadlW(r2, FieldMemOperand(r2, String::kHashFieldOffset)); |
- __ AndP(r0, r2, 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(r2); |
- |
- __ LoadlW(r2, FieldMemOperand(r2, String::kHashFieldOffset)); |
- __ IndexFromHash(r2, r2); |
- |
- context()->Plug(r2); |
-} |
- |
void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(1, args->length()); |