Browse Source

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

git-svn-id: branches/wasm@47003 -
nickysn 4 years ago
parent
commit
8ba562a41e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      compiler/pmodules.pas

+ 0 - 4
compiler/pmodules.pas

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