From 8035a407a6838b1bc3fa1b4c09281c5918cb6bc2 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 3 Dec 2017 20:59:48 +0000 Subject: Remove dead code --- src/ir_print.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ir_print.cpp') diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 3275f0da3..255611fb8 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -466,6 +466,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type * // NOTE(bill): Is this correct? Does this handle all cases regarding arrays? if (is_type_array(type) && value.kind != ExactValue_Invalid && + value.kind != ExactValue_String && value.kind != ExactValue_Compound) { i64 count = type->Array.count; Type *elem = type->Array.elem; -- cgit v1.2.3