浏览代码

* fixed the 'if' instruction syntax in the llvm-mc asm writer

git-svn-id: branches/wasm@48026 -
nickysn 4 年之前
父节点
当前提交
6ef60815b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/wasm32/agllvmmc.pas

+ 1 - 1
compiler/wasm32/agllvmmc.pas

@@ -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