Remove empty union check on array types; Fix overflowing error printing

This commit is contained in:
Ginger Bill
2017-07-29 13:01:17 +01:00
parent 1df4aa90ce
commit 24c812115e
4 changed files with 59 additions and 61 deletions
+1 -1
View File
@@ -1733,7 +1733,7 @@ void print_llvm_ir(irGen *ir) {
ir_file_buffer_init(f, &ir->output_file);
ir_print_encoded_local(f, str_lit("..opaque"));
ir_fprintf(f, " = type opaque;\n");
ir_fprintf(f, " = type {};\n");
ir_print_encoded_local(f, str_lit("..string"));
ir_fprintf(f, " = type {i8*, ");
ir_print_type(f, m, t_int);