diff options
author | John van Groningen | 2006-12-07 15:02:18 +0000 |
---|---|---|
committer | John van Groningen | 2006-12-07 15:02:18 +0000 |
commit | e3a2ebd719939c365a403033b862b23ea7c68412 (patch) | |
tree | 2f12d038147c63924e68344054c54fc99ac8a1ee | |
parent | move comment before the macro, because the assembler doesn't allow (diff) |
fix bug in copying record that is used more than once,
without pointers and with size > 2
-rw-r--r-- | acopy.asm | 3 | ||||
-rw-r--r-- | icopy.s | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -788,7 +788,8 @@ record_arguments_already_copied_3_b: mov rdx,qword ptr [rcx] pop rax - mov qword ptr 16 [rsi],rdx + sub rdx,1 + mov qword ptr 16[rsi],rdx sub rbx,1 jae copy_lp2 @@ -850,6 +850,7 @@ record_arguments_already_copied_3_b: movl (a0),a1 popl d0 + subl $1,a1 movl a1,8(a3) subl $1,d1 |