Add @require for global variables

This commit is contained in:
gingerBill
2020-03-12 14:40:13 +00:00
parent e0a370f8f1
commit 2a2d3273ea
4 changed files with 27 additions and 5 deletions
+2
View File
@@ -11844,6 +11844,8 @@ void ir_gen_tree(irGen *s) {
if (!ir_min_dep_entity(m, e)) {
continue;
}
DeclInfo *decl = decl_info_of_entity(e);
if (decl == nullptr) {
continue;