diff options
| author | gingerBill <bill@gingerbill.org> | 2018-12-08 11:26:13 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-12-08 11:26:13 +0000 |
| commit | 4205f0f0b1d0141d1853d14ff66501935a7bcc6f (patch) | |
| tree | b979086e3f6acd07b4241312527d071be7b3e689 /src/check_expr.cpp | |
| parent | bd62bceca6f43a92618a6d362f186918268d84c1 (diff) | |
Remove dummy testing code
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 12616c9dd..86ff4f0cd 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -1647,13 +1647,6 @@ void check_comparison(CheckerContext *c, Operand *x, Operand *y, TokenKind op) { } } } else { - if (is_type_integer(x->type)) { - i64 i = exact_value_to_i64(x->value); - if (i == 0) { - auto bi = x->value.value_integer; - gb_printf_err("%s %d %lld\n", expr_to_string(x->expr), bi.len, bi.d.word); - } - } x->value = exact_value_bool(compare_exact_values(op, x->value, y->value)); } } else { |