Selaa lähdekoodia

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

git-svn-id: trunk@28735 -
Jeppe Johansen 10 vuotta sitten
vanhempi
commit
e012b4fa23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      rtl/embedded/heapmgr.pp

+ 1 - 1
rtl/embedded/heapmgr.pp

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