diff options
| author | gingerBill <bill@gingerbill.org> | 2020-03-12 14:40:13 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-03-12 14:40:13 +0000 |
| commit | 2a2d3273eae791c5c21eb77374f4818c2a76ae1b (patch) | |
| tree | e2e2c671932002628752ea7362c04f04cc270e12 /src/ir.cpp | |
| parent | e0a370f8f181d9787312b89bb30da9e638c59584 (diff) | |
Add `@require` for global variables
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
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; |