From 4c2c5885235aa214db8548f92df9a12cb5872fb2 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Tue, 2 Jul 2013 11:09:50 +0000 Subject: fix compacting for an empty A stack --- macho64/acompact_rmark.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macho64/acompact_rmark.s b/macho64/acompact_rmark.s index 359fe1b..53fbb46 100644 --- a/macho64/acompact_rmark.s +++ b/macho64/acompact_rmark.s @@ -7,10 +7,11 @@ rmark_stack_nodes1: rmark_next_stack_node: add rsi,8 +rmark_stack_nodes: cmp rsi,qword ptr end_vector[rip] je end_rmark_nodes -rmark_stack_nodes: +rmark_more_stack_nodes: mov rcx,qword ptr [rsi] mov rax,qword ptr neg_heap_p3[rip] @@ -36,7 +37,7 @@ rmark_stack_nodes: add rsi,8 cmp rsi,qword ptr end_vector[rip] - att_jne rmark_stack_nodes + att_jne rmark_more_stack_nodes ret rmark_stack_node: -- cgit v1.2.3