| Index: src/a64/builtins-a64.cc
|
| diff --git a/src/a64/builtins-a64.cc b/src/a64/builtins-a64.cc
|
| index 797fbc3a5421eb9f1dd4f1250efe136eca4d4f05..6ae855d90f73b16facb4a480ec8b22626fe2886d 100644
|
| --- a/src/a64/builtins-a64.cc
|
| +++ b/src/a64/builtins-a64.cc
|
| @@ -1045,7 +1045,7 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) {
|
| (1 << SharedFunctionInfo::kNative),
|
| &shift_arguments);
|
|
|
| - // Compute the receiver in non-strict mode.
|
| + // Compute the receiver in sloppy mode.
|
| Register receiver = x2;
|
| __ Sub(scratch1, argc, 1);
|
| __ Peek(receiver, Operand(scratch1, LSL, kXRegSizeInBytesLog2));
|
| @@ -1247,7 +1247,7 @@ void Builtins::Generate_FunctionApply(MacroAssembler* masm) {
|
| // Do not transform the receiver for native functions.
|
| __ Tbnz(x10, SharedFunctionInfo::kNative, &push_receiver);
|
|
|
| - // Compute the receiver in non-strict mode.
|
| + // Compute the receiver in sloppy mode.
|
| __ JumpIfSmi(receiver, &convert_receiver_to_object);
|
| __ JumpIfRoot(receiver, Heap::kNullValueRootIndex, &use_global_receiver);
|
| __ JumpIfRoot(receiver, Heap::kUndefinedValueRootIndex,
|
|
|