mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 07:09:29 +02:00
Inline calls to FindSize which removes a lot of unnecessary calls.
git-svn-id: trunk@28735 -
This commit is contained in:
parent
d3755371fe
commit
e012b4fa23
@ -37,7 +37,7 @@ Unit heapmgr;
|
||||
|
||||
procedure InternalFreeMem(Addr: Pointer; Size: ptruint); forward;
|
||||
|
||||
function FindSize(p: pointer): ptruint;
|
||||
function FindSize(p: pointer): ptruint; inline;
|
||||
begin
|
||||
FindSize := PPtrUInt(p)[-1];
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user