aboutsummaryrefslogtreecommitdiff
path: root/src/big_int.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-12 00:47:20 +0000
committergingerBill <bill@gingerbill.org>2023-01-12 00:47:20 +0000
commit520ff731de908f63c8f5fe21ea058b8590d4285d (patch)
treed1c0cb00882295e742526883132d06a1d3feb864 /src/big_int.cpp
parente9cfe698bad140fcfb6dda6baf1e8b2e00e52003 (diff)
Add `ArenaTemp` to the compiler
Diffstat (limited to 'src/big_int.cpp')
-rw-r--r--src/big_int.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/big_int.cpp b/src/big_int.cpp
index 0f6b921b2..36652005e 100644
--- a/src/big_int.cpp
+++ b/src/big_int.cpp
@@ -477,6 +477,7 @@ gb_internal void big_int_or(BigInt *dst, BigInt const *x, BigInt const *y) {
}
gb_internal void debug_print_big_int(BigInt const *x) {
+ TEMPORARY_ALLOCATOR_GUARD();
String s = big_int_to_string(temporary_allocator(), x, 10);
gb_printf_err("[DEBUG] %.*s\n", LIT(s));
}