Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index ca92355afa202f18c0acf682f7d88905dfb133b5..2e306096e796b54319fbc0b83d7b492e8edc1a54 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -2835,43 +2835,6 @@ void FullCodeGenerator::EmitCall(CallRuntime* expr) { |
context()->DropAndPlug(1, r3); |
} |
- |
-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); |
- |
- __ lwz(r3, FieldMemOperand(r3, String::kHashFieldOffset)); |
- // PPC - assume ip is free |
- __ mov(ip, Operand(String::kContainsCachedArrayIndexMask)); |
- __ and_(r0, r3, ip, SetRC); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(eq, if_true, if_false, fall_through, cr0); |
- |
- 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(r3); |
- |
- __ lwz(r3, FieldMemOperand(r3, String::kHashFieldOffset)); |
- __ IndexFromHash(r3, r3); |
- |
- context()->Plug(r3); |
-} |
- |
- |
void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(1, args->length()); |