mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 19:38:10 +02:00
* fixed writing nested conversion operations such as bitcast (missing
opening bracket) git-svn-id: branches/hlcgllvm@28142 -
This commit is contained in:
parent
b94a524556
commit
5cf52bb957
@ -386,13 +386,14 @@ implementation
|
||||
data initialisers }
|
||||
if (taillvm(hp).oper[0]^.typ<>top_reg) or
|
||||
(taillvm(hp).oper[0]^.reg<>NR_NO) then
|
||||
begin
|
||||
owner.AsmWrite(getopstr(taillvm(hp).oper[0]^,false)+' = ');
|
||||
end
|
||||
owner.AsmWrite(getopstr(taillvm(hp).oper[0]^,false)+' = ')
|
||||
else
|
||||
nested:=true;
|
||||
owner.AsmWrite(llvm_op2str[op]);
|
||||
owner.AsmWrite(' ');
|
||||
if not nested then
|
||||
owner.AsmWrite(' ')
|
||||
else
|
||||
owner.AsmWrite(' (');
|
||||
owner.AsmWrite(getopstr(taillvm(hp).oper[1]^,false));
|
||||
owner.AsmWrite(' ');
|
||||
owner.AsmWrite(getopstr(taillvm(hp).oper[2]^,false));
|
||||
|
Loading…
Reference in New Issue
Block a user