mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 10:10:20 +02:00
* fixed the 'if' instruction syntax in the llvm-mc asm writer
git-svn-id: branches/wasm@48026 -
This commit is contained in:
parent
ade8003fb5
commit
6ef60815b8
@ -310,7 +310,7 @@ implementation
|
|||||||
owner.WriteFuncType(cpu.functype);
|
owner.WriteFuncType(cpu.functype);
|
||||||
end
|
end
|
||||||
else if (cpu.opcode = a_if) then
|
else if (cpu.opcode = a_if) then
|
||||||
writer.AsmWrite(' (result i32)') //todo: this is a hardcode, but shouldn't
|
writer.AsmWrite(' i32') //todo: this is a hardcode, but shouldn't
|
||||||
else if cpu.ops<>0 then
|
else if cpu.ops<>0 then
|
||||||
begin
|
begin
|
||||||
for i:=0 to cpu.ops-1 do
|
for i:=0 to cpu.ops-1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user