aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-03-12 14:40:13 +0000
committergingerBill <bill@gingerbill.org>2020-03-12 14:40:13 +0000
commit2a2d3273eae791c5c21eb77374f4818c2a76ae1b (patch)
treee2e2c671932002628752ea7362c04f04cc270e12 /src/ir.cpp
parente0a370f8f181d9787312b89bb30da9e638c59584 (diff)
Add `@require` for global variables
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index da0075ec8..867a28259 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -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;