Pārlūkot izejas kodu

+ added extra values to TWasmNameSubsectionType from the extended name section
proposal and the gc proposal

Nikolay Nikolov 10 mēneši atpakaļ
vecāks
revīzija
ffd461860b
1 mainītis faili ar 11 papildinājumiem un 2 dzēšanām
  1. 11 2
      compiler/wasmbase.pas

+ 11 - 2
compiler/wasmbase.pas

@@ -73,9 +73,18 @@ type
   TWasmCustomDebugSectionType = wcstDebugFrame..wcstDebugStr;
 
   TWasmNameSubsectionType = (
-    wnstModuleName = 0,
+    wnstModuleName    = 0,
     wnstFunctionNames = 1,
-    wnstLocalNames = 2
+    wnstLocalNames    = 2,
+    wnstLabelNames    = 3,   { extended name section }
+    wnstTypeNames     = 4,   { gc proposal }
+    wnstTableNames    = 5,   { extended name section }
+    wnstMemoryNames   = 6,   { extended name section }
+    wnstGlobalNames   = 7,   { extended name section }
+    wnstElemNames     = 8,   { extended name section }
+    wnstDataNames     = 9,   { extended name section }
+    wnstFieldNames    = 10,  { gc proposal }
+    wnstTagNames      = 11   { extended name section }
   );