summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acompact.asm2
-rw-r--r--macho64/acompact.s4
2 files changed, 3 insertions, 3 deletions
diff --git a/acompact.asm b/acompact.asm
index af3e9ab..9d2ce03 100644
--- a/acompact.asm
+++ b/acompact.asm
@@ -96,7 +96,7 @@ determine_free_finalizers_after_compact1:
mov rax,qword ptr neg_heap_p3+0
add rax,rbp
mov rbx,rax
- and rax,31*9
+ and rax,31*8
shr rbx,8
mov esi,dword ptr (bit_set_table2)[rax]
test esi,dword ptr [rdi+rbx*4]
diff --git a/macho64/acompact.s b/macho64/acompact.s
index 242b6fc..8909c6e 100644
--- a/macho64/acompact.s
+++ b/macho64/acompact.s
@@ -95,8 +95,8 @@ determine_free_finalizers_after_compact1:
mov rax,qword ptr neg_heap_p3[rip]
add rax,rbp
- mov rbx,rax
- and rax,31*9
+ mov rbx,rax
+ and rax,31*8
shr rbx,8
lea r9,bit_set_table2[rip]
mov esi,dword ptr [r9+rax]