Remove dead code

This commit is contained in:
gingerBill
2017-12-03 20:59:48 +00:00
parent 97760c3fa4
commit 8035a407a6
4 changed files with 2 additions and 2810 deletions
+1
View File
@@ -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;