aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-11-15 19:36:37 +0000
committergingerBill <bill@gingerbill.org>2020-11-15 19:36:37 +0000
commit0d6f5cec37e8815ff2e1c82575a05db98e4043d4 (patch)
tree0d116ce02890f1770b95f42323630c71fbfcf033 /src/check_decl.cpp
parent17ec3e72a68b805fc202174722778545c956f433 (diff)
Implement custom temporary allocator using ring buffer
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp
index bfe703853..248069b97 100644
--- a/src/check_decl.cpp
+++ b/src/check_decl.cpp
@@ -121,7 +121,6 @@ void check_init_variables(CheckerContext *ctx, Entity **lhs, isize lhs_count, Ar
// NOTE(bill): If there is a bad syntax error, rhs > lhs which would mean there would need to be
// an extra allocation
- SCOPED_TEMPORARY_BLOCK();
auto operands = array_make<Operand>(temporary_allocator(), 0, 2*lhs_count);
check_unpack_arguments(ctx, lhs, lhs_count, &operands, inits, true, false);