+ enable the WebAssembly internal assembler and object writer

This commit is contained in:
Nikolay Nikolov 2021-09-26 20:46:47 +03:00
parent db843287a2
commit bc76487b87
3 changed files with 1 additions and 10 deletions

View File

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

View File

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

View File

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