Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index d869f0530bf58b9c768f0b8bb844b47d592d4e1e..1c9bfa49601c72d43fadb819f2ce01aa35f2e5f5 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -613,8 +613,8 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) { |
__ j(not_equal, &shift_arguments); |
// Do not transform the receiver for natives (shared already in ebx). |
- __ test_b(FieldOperand(ebx, SharedFunctionInfo::kNativeByteOffset), |
- 1 << SharedFunctionInfo::kNativeBitWithinByte); |
+ __ test_b(FieldOperand(ebx, SharedFunctionInfo::kES5NativeByteOffset), |
+ 1 << SharedFunctionInfo::kES5NativeBitWithinByte); |
__ j(not_equal, &shift_arguments); |
// Compute the receiver in non-strict mode. |
@@ -777,8 +777,8 @@ void Builtins::Generate_FunctionApply(MacroAssembler* masm) { |
Factory* factory = masm->isolate()->factory(); |
// Do not transform the receiver for natives (shared already in ecx). |
- __ test_b(FieldOperand(ecx, SharedFunctionInfo::kNativeByteOffset), |
- 1 << SharedFunctionInfo::kNativeBitWithinByte); |
+ __ test_b(FieldOperand(ecx, SharedFunctionInfo::kES5NativeByteOffset), |
+ 1 << SharedFunctionInfo::kES5NativeBitWithinByte); |
__ j(not_equal, &push_receiver); |
// Compute the receiver in non-strict mode. |