Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 8225a8a46263fabbbcd457ba767005261245d8e6..2c1718eeccfb17093ba166d26106a5a5d815f957 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1988,7 +1988,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
__ movp(rdi, rax); |
__ movp(Operand(rsp, 2 * kPointerSize), rdi); |
- SetCallPosition(expr, 1); |
+ SetCallPosition(expr); |
__ Set(rax, 1); |
__ Call( |
isolate()->builtins()->Call(ConvertReceiverMode::kNotNullOrUndefined), |
@@ -2747,7 +2747,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(); |
__ Move(rdx, SmiFromSlot(expr->CallFeedbackICSlot())); |
__ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize)); |
@@ -2850,7 +2850,7 @@ void FullCodeGenerator::EmitPossiblyEvalCall(Call* expr) { |
PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS); |
- SetCallPosition(expr, arg_count); |
+ SetCallPosition(expr); |
__ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize)); |
__ Set(rax, arg_count); |
__ Call(isolate()->builtins()->Call(), RelocInfo::CODE_TARGET); |
@@ -2882,7 +2882,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 rdi and rax. |
__ Set(rax, arg_count); |
@@ -2918,7 +2918,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 rdx. |
VisitForAccumulatorValue(super_call_ref->new_target_var()); |
@@ -3661,7 +3661,7 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) { |
// Call the construct call builtin that handles allocation and |
// constructor invocation. |
- SetConstructCallPosition(expr, 0); |
+ SetConstructCallPosition(expr); |
// Check if the calling frame is an arguments adaptor frame. |
Label adaptor_frame, args_set_up, runtime; |
@@ -4080,7 +4080,7 @@ void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
int arg_count = args->length(); |
- SetCallPosition(expr, arg_count); |
+ SetCallPosition(expr); |
__ movp(rdi, Operand(rsp, (arg_count + 1) * kPointerSize)); |
__ Set(rax, arg_count); |
__ Call(isolate()->builtins()->Call(ConvertReceiverMode::kNullOrUndefined), |