Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 2f1a23b1c24235420ae96c39a6b7c249f526e7ca..958735f2c6474d76e922057f70b4df37ee939a38 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2258,6 +2258,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
CallIC(ic, TypeFeedbackId::None()); |
__ mov(r1, r0); |
__ str(r1, MemOperand(sp, 2 * kPointerSize)); |
+ SetCallPosition(expr, 1); |
CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD); |
__ CallStub(&stub); |
@@ -3092,7 +3093,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) { |
VisitForStackValue(args->at(i)); |
} |
- SetExpressionPosition(expr); |
+ SetCallPosition(expr, arg_count); |
Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code(); |
__ mov(r3, Operand(SmiFromSlot(expr->CallFeedbackICSlot()))); |
__ ldr(r1, MemOperand(sp, (arg_count + 1) * kPointerSize)); |
@@ -3227,7 +3228,7 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
PrepareForBailoutForId(expr->EvalId(), NO_REGISTERS); |
// Record source position for debugger. |
- SetExpressionPosition(expr); |
+ SetCallPosition(expr, arg_count); |
CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS); |
__ ldr(r1, MemOperand(sp, (arg_count + 1) * kPointerSize)); |
__ CallStub(&stub); |
@@ -3299,7 +3300,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
// Call the construct call builtin that handles allocation and |
// constructor invocation. |
- SetExpressionPosition(expr); |
+ SetConstructCallPosition(expr); |
// Load function and argument count into r1 and r0. |
__ mov(r0, Operand(arg_count)); |
@@ -3342,7 +3343,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
// Call the construct call builtin that handles allocation and |
// constructor invocation. |
- SetExpressionPosition(expr); |
+ SetConstructCallPosition(expr); |
// Load function and argument count into r1 and r0. |
__ mov(r0, Operand(arg_count)); |
@@ -4721,7 +4722,7 @@ void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
int arg_count = args->length(); |
- SetExpressionPosition(expr); |
+ SetCallPosition(expr, arg_count); |
CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS); |
__ ldr(r1, MemOperand(sp, (arg_count + 1) * kPointerSize)); |
__ CallStub(&stub); |