Inline calls to FindSize which removes a lot of unnecessary calls.

git-svn-id: trunk@28735 -
This commit is contained in:
Jeppe Johansen 2014-10-04 11:05:25 +00:00
parent d3755371fe
commit e012b4fa23

View File

@ -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;