diff options
| author | gingerBill <bill@gingerbill.org> | 2018-12-28 13:31:06 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-12-28 13:31:06 +0000 |
| commit | a240a3d14660f6b33f839a3ebf142e20aac3e80a (patch) | |
| tree | a32aea3ab5929ca1bda8c54cf839a0a956bc5225 /src/ir_print.cpp | |
| parent | 775f1e2c959e0db488615a44d30be3a59d371b08 (diff) | |
`static` variable declarations (Experimental)
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 74da92bf0..3da15607c 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -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) { |