Forráskód Böngészése

* eo_promising renamed eo_promising_first

Nikolay Nikolov 2 éve
szülő
commit
c6b059ede6
3 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      compiler/export.pas
  2. 1 1
      compiler/pexports.pas
  3. 1 1
      compiler/systems/t_wasi.pas

+ 1 - 1
compiler/export.pas

@@ -38,7 +38,7 @@ type
      eo_index,
      eo_name,
      eo_no_sym_name, { don't try to use another mangled name if symbol is known }
-     eo_promising
+     eo_promising_first
    );
    texportoptions=set of texportoption;
 

+ 1 - 1
compiler/pexports.pas

@@ -179,7 +179,7 @@ implementation
                     if try_to_consume(_PROMISING) then
                      begin
                        if target_info.system in systems_wasm then
-                         include(options,eo_promising);
+                         include(options,eo_promising_first);
                      end;
                     if (DefString<>'') and UseDeffileForExports then
                      DefFile.AddExport(DefString);

+ 1 - 1
compiler/systems/t_wasi.pas

@@ -250,7 +250,7 @@ var
   pd: tcpuprocdef;
 begin
   pd:=tcpuprocdef(tprocsym(hp.sym).ProcdefList[0]);
-  if eo_promising in hp.options then
+  if eo_promising_first in hp.options then
     begin
       pd.synthetickind:=tsk_wasm_promising;
       pd.promising_export_name:=hp.name^;