Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index 9d544825e41b9a7d5998edc7bf7f903572badb55..3cb58cdb8b5397ed911cf4dc82707ab7b824c8fc 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -2557,6 +2557,8 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
// The runtime call returns a pair of values in x0 (function) and |
// x1 (receiver). Touch up the stack with the right values. |
__ PokePair(x1, x0, arg_count * kPointerSize); |
+ |
+ PrepareForBailoutForId(expr->EvalOrLookupId(), NO_REGISTERS); |
} |
// Record source position for debugger. |
@@ -2592,6 +2594,7 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
__ Push(context_register(), x10); |
__ CallRuntime(Runtime::kLoadLookupSlot, 2); |
__ Push(x0, x1); // Receiver, function. |
+ PrepareForBailoutForId(expr->EvalOrLookupId(), NO_REGISTERS); |
// If fast case code has been generated, emit code to push the |
// function and receiver and have the slow path jump around this |