mirror of
https://github.com/RGBCube/serenity
synced 2025-07-03 05:32:13 +00:00
LibJS: Remove unused HashTable in function_declaration_instantiation()
This commit is contained in:
parent
edd2f8b37f
commit
e03f43e1b5
1 changed files with 0 additions and 4 deletions
|
@ -659,10 +659,6 @@ ThrowCompletionOr<void> ECMAScriptFunctionObject::function_declaration_instantia
|
||||||
|
|
||||||
GCPtr<Environment> var_environment;
|
GCPtr<Environment> var_environment;
|
||||||
|
|
||||||
HashTable<DeprecatedFlyString> instantiated_var_names;
|
|
||||||
if (scope_body)
|
|
||||||
instantiated_var_names.ensure_capacity(scope_body->var_declaration_count());
|
|
||||||
|
|
||||||
// 27. If hasParameterExpressions is false, then
|
// 27. If hasParameterExpressions is false, then
|
||||||
if (!m_has_parameter_expressions) {
|
if (!m_has_parameter_expressions) {
|
||||||
// a. NOTE: Only a single Environment Record is needed for the parameters and top-level vars.
|
// a. NOTE: Only a single Environment Record is needed for the parameters and top-level vars.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue