mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-21 22:05:20 +00:00
Minor clean up of permanent/temporary arena usage
This commit is contained in:
@@ -1963,7 +1963,7 @@ gb_internal void check_range_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags)
|
||||
}
|
||||
|
||||
auto rhs = slice_from_array(vals);
|
||||
auto lhs = slice_make<Ast *>(temporary_allocator(), rhs.count);
|
||||
auto lhs = temporary_slice_make<Ast *>(rhs.count);
|
||||
slice_copy(&lhs, rs->vals);
|
||||
|
||||
isize addressable_index = cast(isize)is_map;
|
||||
|
||||
Reference in New Issue
Block a user