Sfoglia il codice sorgente

* also create the PASCALMAIN alias for WASI programs, now that function aliases work

git-svn-id: branches/wasm@47003 -
nickysn 5 anni fa
parent
commit
8ba562a41e
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      compiler/pmodules.pas

+ 0 - 4
compiler/pmodules.pas

@@ -2210,10 +2210,6 @@ type
                FPC_SYSTEMMAIN) }
              main_procinfo:=create_main_proc('PASCALMAIN',potype_proginit,current_module.localsymtable);
            end
-         else if target_info.system=system_wasm32_wasi then
-           begin
-             main_procinfo:=create_main_proc(mainaliasname,potype_proginit,current_module.localsymtable);
-           end
          else
            begin
              main_procinfo:=create_main_proc(mainaliasname,potype_proginit,current_module.localsymtable);