2
0
Эх сурвалжийг харах

* declare fpc_zeromem and fpc_fillmem as inline to avoid one call

git-svn-id: trunk@33994 -
svenbarth 9 жил өмнө
parent
commit
248490bbf1
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      rtl/inc/compproc.inc

+ 2 - 2
rtl/inc/compproc.inc

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