From 6ef60815b8be5d309e78147b742a64d5abe02bb0 Mon Sep 17 00:00:00 2001 From: nickysn Date: Mon, 4 Jan 2021 10:11:29 +0000 Subject: [PATCH] * fixed the 'if' instruction syntax in the llvm-mc asm writer git-svn-id: branches/wasm@48026 - --- compiler/wasm32/agllvmmc.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/wasm32/agllvmmc.pas b/compiler/wasm32/agllvmmc.pas index 726555cce7..2fe3d26635 100644 --- a/compiler/wasm32/agllvmmc.pas +++ b/compiler/wasm32/agllvmmc.pas @@ -310,7 +310,7 @@ implementation owner.WriteFuncType(cpu.functype); end 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 begin for i:=0 to cpu.ops-1 do