ladybird/Userland/Libraries/LibJS
Aliaksandr Kalenik edd2f8b37f LibJS: Run reusable steps of FunctionDeclarationInstantiation only once
This change moves steps that can be executed only once and then reused
in subsequent function instantiations from
`function_declaration_instantiation` to the ECMAScriptFunctionObject:
- Determine if there are any parameters with duplicate names.
- Determine if there are any parameters with expressions.
- Determine if an arguments object needs to be created.
- Create a list of distinct function names for which bindings need to
  be created.
- Create a list of distinct variable names for which bindings need to
  be created.

This change makes React-Redux-TodoMVC test in Speedometer
run 10% faster :)
2023-09-19 06:54:10 +02:00
..
Bytecode LibJS: Store bytecode instruction length in instruction itself 2023-09-14 16:11:14 +02:00
Contrib/Test262
Heap LibJS: Avoid pointless HashTable copying during GC mark phase 2023-09-15 12:12:54 +02:00
Runtime LibJS: Run reusable steps of FunctionDeclarationInstantiation only once 2023-09-19 06:54:10 +02:00
Tests LibJS: Get initial_value from local variables if id represents a local 2023-09-18 17:57:56 +02:00
AST.cpp
AST.h
CMakeLists.txt LibJS: Remove the now-unused ThrowableStringBuilder 2023-09-09 13:03:25 -04:00
Console.cpp LibJS+LibWeb+WebContent: Stop using ThrowableStringBuilder 2023-09-09 13:03:25 -04:00
Console.h
CyclicModule.cpp
CyclicModule.h
Forward.h
Lexer.cpp
Lexer.h
MarkupGenerator.cpp LibJS: Use OrderedHashMap for the Shape property table 2023-09-17 21:00:11 +02:00
MarkupGenerator.h
Module.cpp
Module.h
Parser.cpp
Parser.h
ParserError.cpp
ParserError.h
Position.h LibJS: Make line-and-column resolution fast for large minified JS 2023-09-12 17:21:42 +02:00
Print.cpp
Print.h
SafeFunction.h
Script.cpp
Script.h
SourceCode.cpp LibJS: Make line-and-column resolution fast for large minified JS 2023-09-12 17:21:42 +02:00
SourceCode.h LibJS: Make line-and-column resolution fast for large minified JS 2023-09-12 17:21:42 +02:00
SourceRange.h LibJS: Make line-and-column resolution fast for large minified JS 2023-09-12 17:21:42 +02:00
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
SyntheticModule.cpp
SyntheticModule.h
Token.cpp
Token.h