瀏覽代碼

Remove debug code

gingerBill 7 年之前
父節點
當前提交
39e9b50482
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/ir.cpp

+ 0 - 4
src/ir.cpp

@@ -3230,11 +3230,7 @@ irValue *ir_emit_conv(irProcedure *proc, irValue *value, Type *t) {
 #if defined(ALLOW_ARRAY_PROGRAMMING)
 	if (is_type_array(dst)) {
 		Type *elem = dst->Array.elem;
-		bool is_ta = is_type_array(elem);
-
-		gb_printf("%s\n", type_to_string(ir_type(value)));
 		irValue *e = ir_emit_conv(proc, value, elem);
-		gb_printf("%s\n", type_to_string(elem));
 		irValue *v = ir_add_local_generated(proc, t);
 		isize index_count = dst->Array.count;