Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index ffd2b0c09ffa3be1d9e8603504e12d49ca131e1c..7d3d93dedf8a6633e96644b62fc931b8883878d2 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2284,14 +2284,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(); |
__ Mov(x3, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ Peek(x1, (arg_count + 1) * kXRegSize); |
- // 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); |