Cleanup unused AllProcs.

This commit is contained in:
lachsinc
2018-10-05 14:51:08 +10:00
parent 11ea03d2e8
commit f881ebd007
2 changed files with 3 additions and 38 deletions
-10
View File
@@ -2147,16 +2147,6 @@ void print_llvm_ir(irGen *ir) {
di->Enumerator.value);
break;
}
// TODO(lachsinc): Merge w/ DebugInfoArray
case irDebugInfo_AllProcs:
ir_fprintf(f, "!{");
for_array(proc_index, di->AllProcs.procs) {
irDebugInfo *p = di->AllProcs.procs[proc_index];
if (proc_index > 0) {ir_fprintf(f, ",");}
ir_fprintf(f, "!%d", p->id);
}
ir_write_byte(f, '}');
break;
case irDebugInfo_DebugInfoArray:
ir_fprintf(f, "!{");
for_array(element_index, di->DebugInfoArray.elements) {