| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index fc4581c342df1a1a55f6e698e288d67523f878fb..62f2b57a7de121d182a1512ec3f4bb211e789351 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -675,8 +675,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.
|
| @@ -847,8 +847,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.
|
|
|