Explorar o código

+ enable the WebAssembly internal assembler and object writer

Nikolay Nikolov %!s(int64=3) %!d(string=hai) anos
pai
achega
bc76487b87
Modificáronse 3 ficheiros con 1 adicións e 10 borrados
  1. 1 2
      compiler/ppcwasm32.lpi
  2. 0 4
      compiler/systems/i_embed.pas
  3. 0 4
      compiler/systems/i_wasi.pas

+ 1 - 2
compiler/ppcwasm32.lpi

@@ -63,8 +63,7 @@
       </ConfigFile>
       </ConfigFile>
       <CustomOptions Value="-dwasm32
       <CustomOptions Value="-dwasm32
 -dnoopt
 -dnoopt
--dEXTDEBUG
--dWASM32_INTERNALASM"/>
+-dEXTDEBUG"/>
       <OtherDefines Count="4">
       <OtherDefines Count="4">
         <Define0 Value="wasm32"/>
         <Define0 Value="wasm32"/>
         <Define1 Value="noopt"/>
         <Define1 Value="noopt"/>

+ 0 - 4
compiler/systems/i_embed.pas

@@ -821,11 +821,7 @@ unit i_embed;
             Cprefix      : '';
             Cprefix      : '';
             newline      : #10;
             newline      : #10;
             dirsep       : '/';
             dirsep       : '/';
-{$ifdef WASM32_INTERNALASM}
             assem        : as_wasm32_wasm;
             assem        : as_wasm32_wasm;
-{$else WASM32_INTERNALASM}
-            assem        : as_wasm32_llvm_mc;
-{$endif WASM32_INTERNALASM}
             assemextern  : as_wasm32_llvm_mc;
             assemextern  : as_wasm32_llvm_mc;
             link         : ld_none;
             link         : ld_none;
             linkextern   : ld_embedded;
             linkextern   : ld_embedded;

+ 0 - 4
compiler/systems/i_wasi.pas

@@ -77,11 +77,7 @@ unit i_wasi;
             Cprefix      : '';
             Cprefix      : '';
             newline      : #10;
             newline      : #10;
             dirsep       : '/';
             dirsep       : '/';
-{$ifdef WASM32_INTERNALASM}
             assem        : as_wasm32_wasm;
             assem        : as_wasm32_wasm;
-{$else WASM32_INTERNALASM}
-            assem        : as_wasm32_llvm_mc;
-{$endif WASM32_INTERNALASM}
             assemextern  : as_wasm32_llvm_mc;
             assemextern  : as_wasm32_llvm_mc;
             link         : ld_none;
             link         : ld_none;
             linkextern   : ld_wasi; // there's no linker, only object files for WASM
             linkextern   : ld_wasi; // there's no linker, only object files for WASM