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 44
44
{ $ifdef Windows}
45
45
{ $define EnableThreadSupport}
46
46
{ $endif}
47
- { $if (FPC_FULLVERSION >= 30100) or defined(CPU64) or defined(LCLCarbon)}
47
+ { $if defined(CPU64) or defined(LCLCarbon)}
48
48
{ $define PACKARRAYPASCAL}
49
49
{ $endif}
50
50
Original file line number Diff line number Diff line change @@ -13794,8 +13794,12 @@ function TBaseVirtualTree.PackArray(TheArray: TNodeArray; Count: Integer): Integ
13794
13794
PUSH EBX
13795
13795
PUSH EDI
13796
13796
PUSH ESI
13797
- MOV ECX, EDX //fpc: count is in EDX. Move to ECX
13798
- MOV ESI, [EBP+8] //fpc: TheArray is in EBP+8
13797
+ {$if FPC_FULLVERSION >= 30100}
13798
+ MOV ESI, EDX
13799
+ {$else}
13800
+ MOV ECX, EDX //fpc < 3.1: count is in EDX. Move to ECX
13801
+ MOV ESI, [EBP+8] //fpc < 3.1: TheArray is in EBP+8
13802
+ {$endif}
13799
13803
MOV EDX, -1
13800
13804
JCXZ @@Finish // Empty list?
13801
13805
INC EDX // init remaining entries counter
You can’t perform that action at this time.
0 commit comments