File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 45
45
{ $define EnableThreadSupport}
46
46
{ $endif}
47
47
48
- { $if (FPC_FULLVERSION >= 30100) or defined(CPU64) or defined(LCLCarbon)}
48
+ { $if defined(CPU64) or defined(LCLCarbon)}
49
49
{ $define PACKARRAYPASCAL}
50
50
{ $endif}
Original file line number Diff line number Diff line change @@ -13224,8 +13224,12 @@ function TBaseVirtualTree.PackArray(TheArray: TNodeArray; Count: Integer): Integ
13224
13224
PUSH EBX
13225
13225
PUSH EDI
13226
13226
PUSH ESI
13227
- MOV ECX, EDX //fpc: count is in EDX. Move to ECX
13228
- MOV ESI, [EBP+8] //fpc: TheArray is in EBP+8
13227
+ {$if FPC_FULLVERSION >= 30100}
13228
+ MOV ESI, EDX
13229
+ {$else}
13230
+ MOV ECX, EDX //fpc < 3.1: count is in EDX. Move to ECX
13231
+ MOV ESI, [EBP+8] //fpc < 3.1: TheArray is in EBP+8
13232
+ {$endif}
13229
13233
MOV EDX, -1
13230
13234
JCXZ @@Finish // Empty list?
13231
13235
INC EDX // init remaining entries counter
You can’t perform that action at this time.
0 commit comments