mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
JSSpecCompiler: Create FunctionDeclaration
s for all external functions
This commit is contained in:
parent
5338cdd153
commit
7f47340c82
Notes:
sideshowbarker
2024-07-17 05:01:20 +09:00
Author: https://github.com/DanShaders
Commit: 7f47340c82
Pull-request: https://github.com/SerenityOS/serenity/pull/22751
Reviewed-by: https://github.com/ADKaster ✅
8 changed files with 32 additions and 35 deletions
|
@ -11,7 +11,7 @@ namespace JSSpecCompiler {
|
|||
|
||||
void IntraproceduralCompilerPass::run()
|
||||
{
|
||||
for (auto const& function : m_translation_unit->function_definitions) {
|
||||
for (auto const& function : m_translation_unit->functions_to_compile) {
|
||||
m_function = function;
|
||||
process_function();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue