* declare fpc_zeromem and fpc_fillmem as inline to avoid one call

git-svn-id: trunk@33994 -
This commit is contained in:
svenbarth 2016-06-15 20:16:16 +00:00
parent 11c90a73b1
commit 248490bbf1

View File

@ -37,8 +37,8 @@ Procedure fpc_freemem(p:pointer);compilerproc;
{$endif FPC_HAS_FEATURE_HEAP}
{ used by Default() in code blocks }
procedure fpc_zeromem(p:pointer;len:ptruint);compilerproc;
procedure fpc_fillmem(out data;len:ptruint;b : byte);compilerproc;
procedure fpc_zeromem(p:pointer;len:ptruint);inline;compilerproc;
procedure fpc_fillmem(out data;len:ptruint;b : byte);inline;compilerproc;
procedure fpc_Shortstr_SetLength(var s:shortstring;len:SizeInt); compilerproc;
procedure fpc_shortstr_assign(len:{$ifdef cpu16}smallint{$else}longint{$endif};sstr,dstr:pointer); compilerproc;