Add -show-timings; Clean up polymorphic procedure code a bit

This commit is contained in:
Ginger Bill
2017-07-07 15:26:49 +01:00
parent 2db03cb4a5
commit 773cf5ca08
7 changed files with 373 additions and 275 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
GB_ASSERT(is_type_array(type));
ir_fprintf(f, "c\"");
ir_print_escape_string(f, str, false, false);
ir_fprintf(f, "\"");
ir_fprintf(f, "\\00\"");
} else {
// HACK NOTE(bill): This is a hack but it works because strings are created at the very end
// of the .ll file