diff --git a/src/de/inetsoftware/jwebassembly/module/TypeManager.java b/src/de/inetsoftware/jwebassembly/module/TypeManager.java index 44bb99a..1527852 100644 --- a/src/de/inetsoftware/jwebassembly/module/TypeManager.java +++ b/src/de/inetsoftware/jwebassembly/module/TypeManager.java @@ -69,16 +69,22 @@ public class TypeManager { static final int TYPE_DESCRIPTION_INSTANCEOF_OFFSET = 4; /** - * Byte position in the type description that contains the offset to class name idx. Length 4 bytes. + * Byte position in the type description that contains the offset to class name idx in the string constant table. Length 4 bytes. */ static final int TYPE_DESCRIPTION_TYPE_NAME = 8; + /** + * Byte position in the type description that contains the type of the array (component type). Length 4 bytes. + */ + static final int TYPE_DESCRIPTION_ARRAY_TYPE = 12; + /** * The reserved position on start of the vtable: *