aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-08-16 15:16:57 +0100
committergingerBill <bill@gingerbill.org>2018-08-16 15:16:57 +0100
commit884d5fed9f2894a91ede38fb073338b1fe94a483 (patch)
tree41867331fdc096743e0072bf55067f77ebc306fb /src/ir_print.cpp
parentec84188597b6558970e66ec7918851f1267888df (diff)
bit_set['A'..'Z'], bit_set[0..8]
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index eded9d8dc..85efd12ba 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -807,7 +807,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
}
GB_ASSERT(tav.value.kind == ExactValue_Integer);
i64 v = big_int_to_i64(&tav.value.value_integer);
- i64 lower = type->BitSet.min;
+ i64 lower = type->BitSet.lower;
bits |= 1ull<<cast(u64)(v-lower);
}
ir_write_u64(f, bits);