aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-07 15:26:49 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-07 15:26:49 +0100
commit773cf5ca08de0476b0b8b1ae4c25ac6da62a8059 (patch)
tree203717ab20c5772f5b4ae720ed8f92df504f6340 /src/ir_print.cpp
parent2db03cb4a54eaa594ca0d3ccb6819a8d56e7efed (diff)
Add `-show-timings`; Clean up polymorphic procedure code a bit
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 48935ddf3..878291ebf 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -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