diff options
| author | gingerBill <bill@gingerbill.org> | 2018-09-09 14:46:28 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-09-09 14:46:28 +0100 |
| commit | 4f3837f0e6dfcdb743f0d1399a4795088d15f664 (patch) | |
| tree | 9bd9c2093b8fe9ebecb9e612eca8443bcb057291 /src/ir_print.cpp | |
| parent | 76848e8807543cf1e3a6675dc404bbb0de392471 (diff) | |
Procedure inlining on call site
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 8de79fd07..6d3084de9 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -1478,6 +1478,10 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) { if (proc_type->Proc.diverging) { ir_write_str_lit(f, " noreturn"); } + switch (call->inlining) { + case ProcInlining_inline: ir_write_str_lit(f, " alwaysinline"); break; + case ProcInlining_no_inline: ir_write_str_lit(f, " noinline"); break; + } ir_print_debug_location(f, m, value, instr->block->proc); break; |