Browse Source

* system_wasm_wasm32 renamed system_wasm32_wasm

git-svn-id: branches/wasm@46256 -
nickysn 5 years ago
parent
commit
4a74238a0d

+ 1 - 1
compiler/systems.inc

@@ -181,7 +181,7 @@
              system_i8086_win16,        { 89 }
              system_i8086_win16,        { 89 }
              system_i8086_embedded,     { 90 }
              system_i8086_embedded,     { 90 }
              system_arm_aros,           { 91 }
              system_arm_aros,           { 91 }
-             system_wasm_wasm32,        { 92 }
+             system_wasm32_wasm,        { 92 }
              system_sparc64_linux,      { 93 }
              system_sparc64_linux,      { 93 }
              system_sparc64_solaris,    { 94 }
              system_sparc64_solaris,    { 94 }
              system_arm_netbsd,         { 95 }
              system_arm_netbsd,         { 95 }

+ 1 - 1
compiler/systems.pas

@@ -1138,7 +1138,7 @@ begin
 {$endif aarch64}
 {$endif aarch64}
 
 
 {$ifdef wasm}
 {$ifdef wasm}
-  default_target(system_wasm_wasm32);
+  default_target(system_wasm32_wasm);
 {$endif wasm}
 {$endif wasm}
 
 
 {$ifdef z80}
 {$ifdef z80}

+ 1 - 1
compiler/systems/i_wasm.pas

@@ -42,7 +42,7 @@ unit i_wasm;
 
 
         system_wasm_info : tsysteminfo =
         system_wasm_info : tsysteminfo =
           (
           (
-            system       : system_wasm_wasm32;
+            system       : system_wasm32_wasm;
             name         : 'WebAssembly';
             name         : 'WebAssembly';
             shortname    : 'Wasm';
             shortname    : 'Wasm';
             flags        : [tf_files_case_sensitive,tf_no_generic_stackcheck,
             flags        : [tf_files_case_sensitive,tf_no_generic_stackcheck,

+ 2 - 2
compiler/systems/t_wasm.pas

@@ -159,8 +159,8 @@ end;
 
 
 initialization
 initialization
   RegisterTarget(system_wasm_info);
   RegisterTarget(system_wasm_info);
-  RegisterImport(system_wasm_wasm32, timportlibwasm);
-  RegisterExport(system_wasm_wasm32, texportlibwasm);
+  RegisterImport(system_wasm32_wasm, timportlibwasm);
+  RegisterExport(system_wasm32_wasm, texportlibwasm);
   RegisterLinker(ld_wasm, tlinkerwasm);
   RegisterLinker(ld_wasm, tlinkerwasm);
 
 
 end.
 end.

+ 1 - 1
compiler/wasm32/agbinaryen.pas

@@ -590,7 +590,7 @@ implementation
          idtxt  : 'Binaryen';
          idtxt  : 'Binaryen';
          asmbin : 'wasm-as';
          asmbin : 'wasm-as';
          asmcmd : '$ASM $EXTRAOPT';
          asmcmd : '$ASM $EXTRAOPT';
-         supported_targets : [system_wasm_wasm32];
+         supported_targets : [system_wasm32_wasm];
          flags : [];
          flags : [];
          labelprefix : 'L';
          labelprefix : 'L';
          labelmaxlen : -1;
          labelmaxlen : -1;

+ 1 - 1
compiler/wasm32/agwat.pas

@@ -1082,7 +1082,7 @@ implementation
          idtxt  : 'Wabt';
          idtxt  : 'Wabt';
          asmbin : 'wasa';
          asmbin : 'wasa';
          asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM';
          asmcmd : '-r --no-canonicalize-leb128s -o $OBJ $EXTRAOPT $ASM';
-         supported_targets : [system_wasm_wasm32];
+         supported_targets : [system_wasm32_wasm];
          flags : [];
          flags : [];
          labelprefix : 'L';
          labelprefix : 'L';
          labelmaxlen : -1;
          labelmaxlen : -1;