diff options
Diffstat (limited to 'resources/wasm.xml')
-rw-r--r-- | resources/wasm.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/wasm.xml b/resources/wasm.xml index 6a9dfe9..6925cdb 100644 --- a/resources/wasm.xml +++ b/resources/wasm.xml @@ -40,8 +40,10 @@ <PayloadLength name="payloadlength" type="uint32" encoding="leb128u"/> <NameLength name="namelength" type="uint32" encoding="leb128u"/> <Name name="name" type="string" size="self::NameLength"/> + <!-- <Count name="count" encoding="leb128u" type="uint32" count="1"/> - <Entries name="entries" type="self::Memory_Type" count="self::Count"/> + --> + <Entries name="entries" type="self::Memory_Type" count="1"/> </Memory_Section> <Global_Section name="W_Global_Section" count="1" type="" isaggregate="true"> <ID name="id" type="uint8" encoding="leb128u"/> @@ -106,7 +108,7 @@ <Mutability name="mutability" encoding="leb128u" type="uint8" count="1"></Mutability> </Global_Type> <Table_Type name="table_type_t" isaggregate="true"> - <Element_Type name="element_type" encoding="leb128s" type="int8" count="1"></Element_Type> + <Element_Type name="element_type" encoding="leb128u" type="uint8" count="1"></Element_Type> <Resizable_Limit name="resizable_limit" count="1" type="self::Resizable_Limit"></Resizable_Limit> </Table_Type> <Memory_Type name="memory_type_t" isaggregate="true"> |