mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 05:49:12 +02:00
* string -> shortstring
This commit is contained in:
parent
e50d90b7e9
commit
29c36aa407
@ -1688,7 +1688,7 @@ end;
|
|||||||
label str_int_shortcut;
|
label str_int_shortcut;
|
||||||
|
|
||||||
|
|
||||||
procedure int_str(l:longword;out s:string);assembler;nostackframe;
|
procedure int_str(l:longword;out s:shortstring);assembler;nostackframe;
|
||||||
|
|
||||||
asm
|
asm
|
||||||
pushl %esi
|
pushl %esi
|
||||||
@ -1699,7 +1699,7 @@ asm
|
|||||||
jmp str_int_shortcut
|
jmp str_int_shortcut
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure int_str(l:longint;out s:string);assembler;nostackframe;
|
procedure int_str(l:longint;out s:shortstring);assembler;nostackframe;
|
||||||
|
|
||||||
{Optimized for speed, but balanced with size.}
|
{Optimized for speed, but balanced with size.}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{$ifndef FPC_UNIT_HAS_STRPCOPY}
|
{$ifndef FPC_UNIT_HAS_STRPCOPY}
|
||||||
{$define FPC_UNIT_HAS_STRPCOPY}
|
{$define FPC_UNIT_HAS_STRPCOPY}
|
||||||
function strpcopy(d : PAnsiChar;const s : string) : PAnsiChar;assembler;
|
function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;assembler;
|
||||||
var
|
var
|
||||||
saveesi,saveedi : longint;
|
saveesi,saveedi : longint;
|
||||||
asm
|
asm
|
||||||
|
Loading…
Reference in New Issue
Block a user