Merge branch 'main' into simplify-refcount

Signed-off-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
This commit is contained in:
Brendan Hansknecht 2025-01-10 20:34:52 -08:00 committed by GitHub
commit 7643f89781
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
131 changed files with 2464 additions and 2148 deletions

View file

@ -381,6 +381,7 @@ inline fn decref_ptr_to_refcount(
switch (RC_TYPE) {
.normal => {
if (DEBUG_INCDEC and builtin.target.cpu.arch != .wasm32) {
const old = @as(usize, @bitCast(refcount));
const new = @as(usize, @bitCast(refcount_ptr[0] -% 1));