static variable declarations (Experimental)

This commit is contained in:
gingerBill
2018-12-28 13:31:06 +00:00
parent 775f1e2c95
commit a240a3d146
8 changed files with 104 additions and 5 deletions
+2
View File
@@ -2233,6 +2233,8 @@ void print_llvm_ir(irGen *ir) {
if (g->is_private) {
ir_write_string(f, str_lit("private "));
} else if (g->is_internal) {
ir_write_string(f, str_lit("internal "));
}
if (g->is_constant) {
if (g->is_unnamed_addr) {