Browse Source

+ added WASM segment flag constants

Nikolay Nikolov 3 years ago
parent
commit
eb8325300e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/wasmbase.pas

+ 4 - 0
compiler/wasmbase.pas

@@ -97,6 +97,10 @@ type
     SYMTAB_TABLE    = 5);
 
 const
+  { segment flags }
+  WASM_SEG_FLAG_STRINGS = $01;
+  WASM_SEG_FLAG_TLS     = $02;
+
   { symbol flags }
   WASM_SYM_BINDING_WEAK      = $01;
   WASM_SYM_BINDING_LOCAL     = $02;