Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 31439039de15f1506e13b117c2a56dd0b6109ac4..f6a51a0292f9e09dfda1943c29c1516b2c6388fa 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5960,6 +5960,11 @@ bool SharedFunctionInfo::is_compiled() { |
} |
+bool SharedFunctionInfo::is_simple_parameter_list() { |
+ return scope_info()->IsSimpleParameterList(); |
+} |
+ |
+ |
bool SharedFunctionInfo::IsApiFunction() { |
return function_data()->IsFunctionTemplateInfo(); |
} |
@@ -6233,6 +6238,11 @@ bool JSFunction::is_compiled() { |
} |
+bool JSFunction::is_simple_parameter_list() { |
+ return shared()->is_simple_parameter_list(); |
+} |
+ |
+ |
FixedArray* JSFunction::literals() { |
DCHECK(!shared()->bound()); |
return literals_or_bindings(); |