Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 15f12543ea96dc4d4935ea127cd86013a729d9de..b0001f508426c63d98a6e2c31d0c3ee2fb704875 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -2499,11 +2499,13 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) { |
PrepareForBailoutForId(expr->EvalId(), BailoutState::NO_REGISTERS); |
// Record source position for debugger. |
SetCallPosition(expr); |
+ Handle<Code> code = CodeFactory::CallIC(isolate(), ConvertReceiverMode::kAny, |
+ expr->tail_call_mode()) |
+ .code(); |
+ __ li(a3, Operand(SmiFromSlot(expr->CallFeedbackICSlot()))); |
__ ld(a1, MemOperand(sp, (arg_count + 1) * kPointerSize)); |
__ li(a0, Operand(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(); |