mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-18 20:15:05 +00:00
Merge branch 'main' into simplify-refcount
Signed-off-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
This commit is contained in:
commit
7643f89781
131 changed files with 2464 additions and 2148 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue