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 a9b9ec24c99dc881899511f8270643deea5ba946..dae2bf9ed2f29b9e6aa9c3dc4fc4880a61654a0e 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2396,11 +2396,13 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) { |
SetCallPosition(expr); |
// Call the evaluated function. |
+ Handle<Code> code = CodeFactory::CallIC(isolate(), ConvertReceiverMode::kAny, |
+ expr->tail_call_mode()) |
+ .code(); |
+ __ Mov(x3, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ Peek(x1, (arg_count + 1) * kXRegSize); |
__ Mov(x0, arg_count); |
- __ Call(isolate()->builtins()->Call(ConvertReceiverMode::kAny, |
- expr->tail_call_mode()), |
- RelocInfo::CODE_TARGET); |
+ __ Call(code, RelocInfo::CODE_TARGET); |
OperandStackDepthDecrement(arg_count + 1); |
RecordJSReturnSite(expr); |
RestoreContext(); |