From 3dd6f4ecf0b5877c693a044dab7879145ff63844 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Mon, 17 Jun 2013 15:01:16 +0000 Subject: fix DtoAC for records --- macho64/astartup.s | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'macho64') diff --git a/macho64/astartup.s b/macho64/astartup.s index 31bfce3..1f1878b 100644 --- a/macho64/astartup.s +++ b/macho64/astartup.s @@ -1368,11 +1368,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