浏览代码

+ added WASM segment flag constants

Nikolay Nikolov 3 年之前
父节点
当前提交
eb8325300e
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;