diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-03 20:59:48 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-03 20:59:48 +0000 |
| commit | 8035a407a6838b1bc3fa1b4c09281c5918cb6bc2 (patch) | |
| tree | 970d77bd3e051cf8db3d1553dd0b21d97d471e61 /src/ir_print.cpp | |
| parent | 97760c3fa4c1d6d01daefefcafbf3e9c757ec983 (diff) | |
Remove dead code
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |