From 7a1e3eb0bbca6364a82ae899d63ded5f55558342 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Mon, 17 Jun 2013 15:01:31 +0000 Subject: fix DtoAC for records --- thread_macho64/astartup.s | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'thread_macho64') diff --git a/thread_macho64/astartup.s b/thread_macho64/astartup.s index c167a07..32c7189 100644 --- a/thread_macho64/astartup.s +++ b/thread_macho64/astartup.s @@ -1445,11 +1445,8 @@ printD: test al,2 ret DtoAC_record: - .if NEW_DESCRIPTORS - movsxd rbp,dword ptr (-6)[rax] - .else - movsx rbp,dword ptr (-4)[rbp] - .endif + movsxd rbx,dword ptr (-6)[rax] + lea rbp,(-6)[rax+rbx] jmp DtoAC_string_a2 DtoAC: test al,2 -- cgit v1.2.3