Replace main_fndecl with current_function_decl

This commit is contained in:
2025-02-09 23:49:57 +01:00
parent 207ae0fa0a
commit 4bf88a92e8
7 changed files with 272 additions and 326 deletions

View File

@ -39,7 +39,6 @@ namespace gcc
std::forward_list<block_scope> scope;
tree current_expression{ NULL_TREE };
std::shared_ptr<boot::symbol_table<tree>> symbol_map;
tree main_fndecl{ NULL_TREE };
tree build_label_decl(const char *name, location_t loc);
tree build_type(boot::type_expression& type);