From 856d8f214b684f0e17f23cc2a07d49545a1905dc Mon Sep 17 00:00:00 2001 From: Devyn Cairns Date: Thu, 17 Aug 2023 01:14:07 -0700 Subject: [PATCH] mark deallocation as the less likely path in release_object --- stage1/memory.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stage1/memory.s b/stage1/memory.s index 641c568..29704a2 100644 --- a/stage1/memory.s +++ b/stage1/memory.s @@ -247,8 +247,7 @@ release_object: lw t0, LISP_OBJECT_REFCOUNT(a0) addi t0, t0, -1 sw t0, LISP_OBJECT_REFCOUNT(a0) - bgtz t0, 1f - j drop_object + blez t0, drop_object 1: mv a0, zero ret