| 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 3b36220df209f44f12735cfc1026f6281d06cec4..96911e274427bd80bc83430cc9aaf67cda9ad67e 100644
|
| --- a/src/full-codegen/ppc/full-codegen-ppc.cc
|
| +++ b/src/full-codegen/ppc/full-codegen-ppc.cc
|
| @@ -1571,9 +1571,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| Smi::FromInt(array_index));
|
| __ LoadP(StoreDescriptor::ReceiverRegister(), MemOperand(sp, 0));
|
| EmitLoadStoreICSlot(expr->LiteralFeedbackSlot());
|
| - Handle<Code> ic =
|
| - CodeFactory::KeyedStoreIC(isolate(), language_mode()).code();
|
| - CallIC(ic);
|
| + CallKeyedStoreIC();
|
|
|
| PrepareForBailoutForId(expr->GetIdForElement(array_index),
|
| BailoutState::NO_REGISTERS);
|
| @@ -2124,9 +2122,7 @@ void FullCodeGenerator::EmitAssignment(Expression* expr,
|
| PopOperands(StoreDescriptor::ValueRegister(),
|
| StoreDescriptor::ReceiverRegister());
|
| EmitLoadStoreICSlot(slot);
|
| - Handle<Code> ic =
|
| - CodeFactory::KeyedStoreIC(isolate(), language_mode()).code();
|
| - CallIC(ic);
|
| + CallKeyedStoreIC();
|
| break;
|
| }
|
| }
|
| @@ -2268,10 +2264,8 @@ void FullCodeGenerator::EmitKeyedPropertyAssignment(Assignment* expr) {
|
| StoreDescriptor::NameRegister());
|
| DCHECK(StoreDescriptor::ValueRegister().is(r3));
|
|
|
| - Handle<Code> ic =
|
| - CodeFactory::KeyedStoreIC(isolate(), language_mode()).code();
|
| EmitLoadStoreICSlot(expr->AssignmentSlot());
|
| - CallIC(ic);
|
| + CallKeyedStoreIC();
|
|
|
| PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER);
|
| context()->Plug(r3);
|
| @@ -3357,10 +3351,8 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) {
|
| case KEYED_PROPERTY: {
|
| PopOperands(StoreDescriptor::ReceiverRegister(),
|
| StoreDescriptor::NameRegister());
|
| - Handle<Code> ic =
|
| - CodeFactory::KeyedStoreIC(isolate(), language_mode()).code();
|
| EmitLoadStoreICSlot(expr->CountSlot());
|
| - CallIC(ic);
|
| + CallKeyedStoreIC();
|
| PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER);
|
| if (expr->is_postfix()) {
|
| if (!context()->IsEffect()) {
|
|
|