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 b357bef3a18df468b88a281cb2494c5aa1bec4c4..a297f3fdb990a853ad0d423daf39e0d69137057c 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2584,7 +2584,7 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
} |
PrepareForBailoutForId(expr->CallId(), NO_REGISTERS); |
- SetCallPosition(expr, arg_count); |
+ SetCallPosition(expr); |
Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, mode).code(); |
__ Mov(x3, SmiFromSlot(expr->CallFeedbackICSlot())); |
@@ -2693,7 +2693,7 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) { |
PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS); |
// Record source position for debugger. |
- SetCallPosition(expr, arg_count); |
+ SetCallPosition(expr); |
// Call the evaluated function. |
__ Peek(x1, (arg_count + 1) * kXRegSize); |
@@ -2727,7 +2727,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
// Call the construct call builtin that handles allocation and |
// constructor invocation. |
- SetConstructCallPosition(expr, arg_count); |
+ SetConstructCallPosition(expr); |
// Load function and argument count into x1 and x0. |
__ Mov(x0, arg_count); |
@@ -2763,7 +2763,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
// Call the construct call builtin that handles allocation and |
// constructor invocation. |
- SetConstructCallPosition(expr, arg_count); |
+ SetConstructCallPosition(expr); |
// Load new target into x3. |
VisitForAccumulatorValue(super_call_ref->new_target_var()); |
@@ -3493,7 +3493,7 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) { |
// Call the construct call builtin that handles allocation and |
// constructor invocation. |
- SetConstructCallPosition(expr, 0); |
+ SetConstructCallPosition(expr); |
// Load new target into x3. |
__ Peek(x3, 1 * kPointerSize); |
@@ -3858,7 +3858,7 @@ void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
int arg_count = args->length(); |
- SetCallPosition(expr, arg_count); |
+ SetCallPosition(expr); |
__ Peek(x1, (arg_count + 1) * kPointerSize); |
__ Mov(x0, arg_count); |
__ Call(isolate()->builtins()->Call(ConvertReceiverMode::kNullOrUndefined), |
@@ -4619,7 +4619,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
CallIC(ic, TypeFeedbackId::None()); |
__ Mov(x1, x0); |
__ Poke(x1, 2 * kPointerSize); |
- SetCallPosition(expr, 1); |
+ SetCallPosition(expr); |
__ Mov(x0, 1); |
__ Call( |
isolate()->builtins()->Call(ConvertReceiverMode::kNotNullOrUndefined), |