| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index d324d2f1fab2107ae6d7ace7410adc10cb8d0a52..82ee48ec024a14358d521a8d55ae710522dc839e 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -673,8 +673,8 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) {
|
|
|
| // Do not transform the receiver for natives.
|
| // SharedFunctionInfo is already loaded into rbx.
|
| - __ testb(FieldOperand(rbx, SharedFunctionInfo::kES5NativeByteOffset),
|
| - Immediate(1 << SharedFunctionInfo::kES5NativeBitWithinByte));
|
| + __ testb(FieldOperand(rbx, SharedFunctionInfo::kNativeByteOffset),
|
| + Immediate(1 << SharedFunctionInfo::kNativeBitWithinByte));
|
| __ j(not_zero, &shift_arguments);
|
|
|
| // Compute the receiver in non-strict mode.
|
| @@ -844,8 +844,8 @@ void Builtins::Generate_FunctionApply(MacroAssembler* masm) {
|
| __ j(not_equal, &push_receiver);
|
|
|
| // Do not transform the receiver for natives.
|
| - __ testb(FieldOperand(rdx, SharedFunctionInfo::kES5NativeByteOffset),
|
| - Immediate(1 << SharedFunctionInfo::kES5NativeBitWithinByte));
|
| + __ testb(FieldOperand(rdx, SharedFunctionInfo::kNativeByteOffset),
|
| + Immediate(1 << SharedFunctionInfo::kNativeBitWithinByte));
|
| __ j(not_zero, &push_receiver);
|
|
|
| // Compute the receiver in non-strict mode.
|
|
|