소스 검색

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

git-svn-id: trunk@28735 -
Jeppe Johansen 11 년 전
부모
커밋
e012b4fa23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;