mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
JSSpecCompiler: Elide nested TreeList
nodes
This commit is contained in:
parent
f30815b534
commit
14a86c8fd6
Notes:
sideshowbarker
2024-07-17 03:45:48 +09:00
Author: https://github.com/DanShaders
Commit: 14a86c8fd6
Pull-request: https://github.com/SerenityOS/serenity/pull/21263
Reviewed-by: https://github.com/gmta ✅
4 changed files with 23 additions and 12 deletions
|
@ -129,7 +129,7 @@ void IfElseIfChain::dump_tree(StringBuilder& builder)
|
|||
void TreeList::dump_tree(StringBuilder& builder)
|
||||
{
|
||||
dump_node(builder, "TreeList");
|
||||
for (auto const& expression : m_expressions)
|
||||
for (auto const& expression : m_trees)
|
||||
expression->format_tree(builder);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue