mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
JSSpecCompiler: Refactor CompilerPass
to accept TranslationUnitRef
This commit is contained in:
parent
24682f5dcf
commit
61fa00d46c
Notes:
sideshowbarker
2024-07-17 08:36:27 +09:00
Author: https://github.com/DanShaders
Commit: 61fa00d46c
Pull-request: https://github.com/SerenityOS/serenity/pull/21296
Reviewed-by: https://github.com/ADKaster
8 changed files with 48 additions and 13 deletions
|
@ -52,7 +52,7 @@ RecursionDecision RecursiveASTVisitor::recurse(Tree root, NodeSubtreePointer& po
|
|||
return RecursionDecision::Continue;
|
||||
}
|
||||
|
||||
void GenericASTPass::run()
|
||||
void GenericASTPass::process_function()
|
||||
{
|
||||
run_in_subtree(m_function->m_ast);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue