| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 6717dd5d6d4a8e85f3c13e83e11a5bfae7702de2..d913255472ceabcf6c8686d0ee9511d5f348462b 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -799,7 +799,7 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) {
|
| Immediate(1 << SharedFunctionInfo::kNativeBitWithinByte));
|
| __ j(not_zero, &shift_arguments);
|
|
|
| - // Compute the receiver in non-strict mode.
|
| + // Compute the receiver in sloppy mode.
|
| __ movp(rbx, args.GetArgumentOperand(1));
|
| __ JumpIfSmi(rbx, &convert_to_object, Label::kNear);
|
|
|
| @@ -990,7 +990,7 @@ void Builtins::Generate_FunctionApply(MacroAssembler* masm) {
|
| Immediate(1 << SharedFunctionInfo::kNativeBitWithinByte));
|
| __ j(not_equal, &push_receiver);
|
|
|
| - // Compute the receiver in non-strict mode.
|
| + // Compute the receiver in sloppy mode.
|
| __ JumpIfSmi(rbx, &call_to_object, Label::kNear);
|
| __ CompareRoot(rbx, Heap::kNullValueRootIndex);
|
| __ j(equal, &use_global_receiver);
|
|
|