mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-18 06:01:41 +02:00
* fixed web bug #983 (array name wasn't skipped in add/decref)
This commit is contained in:
parent
c246def634
commit
2689404afd
@ -254,6 +254,11 @@ asm
|
||||
jmp .LMyRecordAddRefLoop
|
||||
// Array handling
|
||||
.LDoArrayAddRef:
|
||||
// Skip array name !!
|
||||
incl %ebx
|
||||
movzbl (%ebx),%eax
|
||||
incl %eax
|
||||
addl %eax,%ebx
|
||||
// %ebx points to size. Put size in ecx
|
||||
movl (%ebx),%ecx
|
||||
addl $4, %ebx
|
||||
@ -340,6 +345,11 @@ asm
|
||||
jmp .LMyRecordDecRefLoop
|
||||
// Array handling
|
||||
.LDoArrayDecRef:
|
||||
// Skip array name !!
|
||||
incl %ebx
|
||||
movzbl (%ebx),%eax
|
||||
incl %eax
|
||||
addl %eax,%ebx
|
||||
// %ebx points to size. Put size in ecx
|
||||
movl (%ebx),%ecx
|
||||
addl $4, %ebx
|
||||
@ -375,7 +385,10 @@ end;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.22 2000-04-01 11:45:34 peter
|
||||
Revision 1.23 2000-06-07 08:55:30 jonas
|
||||
* fixed web bug 983 (array name wasn't skipped in add/decref)
|
||||
|
||||
Revision 1.22 2000/04/01 11:45:34 peter
|
||||
* fixed addref/decref for records, the data/type was read in the
|
||||
wrong order
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user