Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index bc530bc658eedcd62d917d61c4dde60d8413fe32..65e789f0328dd826f8db53a07b4672f623b84571 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5718,7 +5718,7 @@ |
#if V8_HOST_ARCH_32_BIT |
SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) |
-SMI_ACCESSORS(SharedFunctionInfo, internal_formal_parameter_count, |
+SMI_ACCESSORS(SharedFunctionInfo, formal_parameter_count, |
kFormalParameterCountOffset) |
SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, |
kExpectedNofPropertiesOffset) |
@@ -5766,7 +5766,8 @@ |
PSEUDO_SMI_ACCESSORS_LO(SharedFunctionInfo, length, kLengthOffset) |
-PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo, internal_formal_parameter_count, |
+PSEUDO_SMI_ACCESSORS_HI(SharedFunctionInfo, |
+ formal_parameter_count, |
kFormalParameterCountOffset) |
PSEUDO_SMI_ACCESSORS_LO(SharedFunctionInfo, |
@@ -5898,7 +5899,7 @@ |
void SharedFunctionInfo::DontAdaptArguments() { |
DCHECK(code()->kind() == Code::BUILTIN); |
- set_internal_formal_parameter_count(kDontAdaptArgumentsSentinel); |
+ set_formal_parameter_count(kDontAdaptArgumentsSentinel); |
} |
@@ -6079,8 +6080,8 @@ |
bool JSFunction::NeedsArgumentsAdaption() { |
- return shared()->internal_formal_parameter_count() != |
- SharedFunctionInfo::kDontAdaptArgumentsSentinel; |
+ return shared()->formal_parameter_count() != |
+ SharedFunctionInfo::kDontAdaptArgumentsSentinel; |
} |