Commit ad3a1ec8 authored by John van Groningen's avatar John van Groningen
Browse files

bug fix in the mark phase using pointer reversal of the compacting garbage collector for AMD64

parent c5b28200
......@@ -625,9 +625,9 @@ rmarkr_strict_record_selector_node_4:
rmarkr_strict_record_selector_node_5:
ifdef PIC
mov rax,qword ptr ((-8)-8)[rbx]
mov rax,qword ptr ((-8)-8)[rax]
else
mov rax,qword ptr (-8)[rbx]
mov rax,qword ptr (-8)[rax]
endif
mov qword ptr [rcx],rax
jmp rmarkr_next_node
......
......@@ -516,7 +516,7 @@ rmarkr_strict_record_selector_node_4:
mov qword ptr [rcx+16],rbx
rmarkr_strict_record_selector_node_5:
mov rax,qword ptr [rbx-8-8]
mov rax,qword ptr [rax-8-8]
mov qword ptr [rcx],rax
att_jmp rmarkr_next_node
......
......@@ -590,7 +590,7 @@ rmarkr_strict_record_selector_node_4:
mov qword ptr 16[rcx],rbx
rmarkr_strict_record_selector_node_5:
mov rax,qword ptr (-8)[rbx]
mov rax,qword ptr (-8)[rax]
mov qword ptr [rcx],rax
else
mov eax,4[rax]
......
......@@ -516,7 +516,7 @@ rmarkr_strict_record_selector_node_4:
mov qword ptr 16[rcx],rbx
rmarkr_strict_record_selector_node_5:
mov rax,qword ptr ((-8)-8)[rbx]
mov rax,qword ptr ((-8)-8)[rax]
mov qword ptr [rcx],rax
att_jmp rmarkr_next_node
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment