mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* fixed function-level inline assembly constraints in case there are no
parameters git-svn-id: trunk@34897 -
This commit is contained in:
parent
6d6a45c034
commit
43e599d6be
@ -495,11 +495,9 @@ implementation
|
||||
accessed from assembly code in memory }
|
||||
for i:=0 to taillvm(hp).oper[1]^.paras.Count-1 do
|
||||
begin
|
||||
if i<>0 then
|
||||
owner.writer.AsmWrite(',');
|
||||
owner.writer.AsmWrite('=*m');
|
||||
owner.writer.AsmWrite('=*m,');
|
||||
end;
|
||||
owner.writer.AsmWrite(',~{memory},~{fpsr},~{flags}');
|
||||
owner.writer.AsmWrite('~{memory},~{fpsr},~{flags}');
|
||||
WriteAsmRegisterAllocationClobbers(taillvm(hp).oper[0]^.asmlist);
|
||||
owner.writer.AsmWrite('"');
|
||||
owner.writer.AsmWrite(getparas(taillvm(hp).oper[1]^.paras));
|
||||
|
Loading…
Reference in New Issue
Block a user