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 a44153c5e1c970d73c2e1bc2955a3106b5f3698e..4d37448d14ed97df119fcba80210ac24e800dfa9 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -2386,14 +2386,12 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
// not return to this function. |
EmitProfilingCounterHandlingForReturnSequence(true); |
} |
- Handle<Code> ic = |
+ Handle<Code> code = |
CodeFactory::CallIC(isolate(), arg_count, mode, expr->tail_call_mode()) |
.code(); |
__ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ LoadP(r4, MemOperand(sp, (arg_count + 1) * kPointerSize), r0); |
- // Don't assign a type feedback id to the IC, since type feedback is provided |
- // by the vector above. |
- CallIC(ic); |
+ __ Call(code, RelocInfo::CODE_TARGET); |
OperandStackDepthDecrement(arg_count + 1); |
RecordJSReturnSite(expr); |