| 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 8409fb2a05860e48916c621d561c692ff26a2617..717d65635b38d4b25a5fef07bb9040e3ab006654 100644
|
| --- a/src/full-codegen/arm64/full-codegen-arm64.cc
|
| +++ b/src/full-codegen/arm64/full-codegen-arm64.cc
|
| @@ -2832,7 +2832,7 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) {
|
| // constructor invocation.
|
| SetConstructCallPosition(expr);
|
|
|
| - // Load original constructor into x4.
|
| + // Load new target into x4.
|
| VisitForAccumulatorValue(super_call_ref->new_target_var());
|
| __ Mov(x4, result_register());
|
|
|
| @@ -3563,7 +3563,7 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) {
|
| VisitForStackValue(args->at(0));
|
| VisitForStackValue(args->at(1));
|
|
|
| - // Load original constructor into x3.
|
| + // Load new target into x3.
|
| __ Peek(x3, 1 * kPointerSize);
|
|
|
| // Check if the calling frame is an arguments adaptor frame.
|
|
|