Browse Source

[PATCH 12/83] writing out function result declaration

From ed94ba623102725a64337392bb57faa48de0135f Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Tue, 3 Sep 2019 15:44:59 -0400

git-svn-id: branches/wasm@45889 -
nickysn 5 years ago
parent
commit
b8a8de0c8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/wasm/agwat.pas

+ 1 - 0
compiler/wasm/agwat.pas

@@ -252,6 +252,7 @@ implementation
         end;}
       writer.AsmLn;
       WriteProcParams(tcpuprocdef(pd));
+      WriteProcResult(tcpuprocdef(pd));
       WriteTempAlloc(tcpuprocdef(pd).exprasmlist);
 
       WriteTree(tcpuprocdef(pd).exprasmlist);