Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index e4b7cf34ee461dcfd8574f4e5c0e3d2a467867d8..3dea3bc18b16b07b790135ed02cd314faf4512e7 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2269,6 +2269,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); |
@@ -3103,7 +3104,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)); |
@@ -3238,7 +3239,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); |
@@ -3310,7 +3311,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)); |
@@ -3353,7 +3354,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)); |
@@ -4732,7 +4733,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); |