Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 5e6e32c7945ab08435876923fa8d0526cf6358c2..ffbf92e719c337b2e1b9164930153a645b18be33 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5959,6 +5959,11 @@ bool SharedFunctionInfo::is_compiled() { |
} |
+bool SharedFunctionInfo::is_simple_parameter_list() { |
+ return scope_info()->IsSimpleParameterList(); |
+} |
+ |
+ |
bool SharedFunctionInfo::IsApiFunction() { |
return function_data()->IsFunctionTemplateInfo(); |
} |
@@ -6232,6 +6237,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(); |