浏览代码

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

git-svn-id: trunk@28735 -
Jeppe Johansen 10 年之前
父节点
当前提交
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;