Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 6d052ef3a6d43cb43a2e874393298c7897e2bfe3..e3a8e03d4a891de8c7751e865ca7eb79d7deb440 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3884,8 +3884,8 @@ class ScopeInfo : public FixedArray { |
// Return if this is a nested function within an asm module scope. |
bool IsAsmFunction() { return AsmFunctionField::decode(Flags()); } |
- bool IsSimpleParameterList() { |
- return IsSimpleParameterListField::decode(Flags()); |
+ bool HasSimpleParameters() { |
+ return HasSimpleParametersField::decode(Flags()); |
} |
// Return the function_name if present. |
@@ -4084,10 +4084,10 @@ class ScopeInfo : public FixedArray { |
class AsmModuleField : public BitField<bool, FunctionVariableMode::kNext, 1> { |
}; |
class AsmFunctionField : public BitField<bool, AsmModuleField::kNext, 1> {}; |
- class IsSimpleParameterListField |
+ class HasSimpleParametersField |
: public BitField<bool, AsmFunctionField::kNext, 1> {}; |
class FunctionKindField |
- : public BitField<FunctionKind, IsSimpleParameterListField::kNext, 8> {}; |
+ : public BitField<FunctionKind, HasSimpleParametersField::kNext, 8> {}; |
// BitFields representing the encoded information for context locals in the |
// ContextLocalInfoEntries part. |
@@ -6628,7 +6628,7 @@ class SharedFunctionInfo: public HeapObject { |
// Calculate the number of in-object properties. |
int CalculateInObjectProperties(); |
- inline bool is_simple_parameter_list(); |
+ inline bool has_simple_parameters(); |
// Initialize a SharedFunctionInfo from a parsed function literal. |
static void InitFromFunctionLiteral(Handle<SharedFunctionInfo> shared_info, |
@@ -7143,7 +7143,7 @@ class JSFunction: public JSObject { |
// Returns `false` if formal parameters include rest parameters, optional |
// parameters, or destructuring parameters. |
// TODO(caitp): make this a flag set during parsing |
- inline bool is_simple_parameter_list(); |
+ inline bool has_simple_parameters(); |
// [next_function_link]: Links functions into various lists, e.g. the list |
// of optimized functions hanging off the native_context. The CodeFlusher |