mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
JSSpecCompiler: Create FunctionDeclarations for all external functions
This commit is contained in:
committed by
Andrew Kaster
parent
5338cdd153
commit
7f47340c82
@@ -162,13 +162,7 @@ void Variable::dump_tree(StringBuilder& builder)
|
||||
|
||||
void FunctionPointer::dump_tree(StringBuilder& builder)
|
||||
{
|
||||
m_function.visit(
|
||||
[&](StringView name) {
|
||||
dump_node(builder, "Func external \"{}\"", name);
|
||||
},
|
||||
[&](FunctionDefinitionRef function) {
|
||||
dump_node(builder, "Func local \"{}\"", function->m_name);
|
||||
});
|
||||
dump_node(builder, "Func \"{}\"", m_declaration->m_name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user