From 71b28f1d47d8e1eb6499c11900b4200e425a51ce Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Sun, 27 Sep 2020 14:04:07 +0200 Subject: [PATCH] use real type code for arrays --- src/de/inetsoftware/jwebassembly/wasm/ArrayType.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/de/inetsoftware/jwebassembly/wasm/ArrayType.java b/src/de/inetsoftware/jwebassembly/wasm/ArrayType.java index 4fdeaa4..cdd6ef9 100644 --- a/src/de/inetsoftware/jwebassembly/wasm/ArrayType.java +++ b/src/de/inetsoftware/jwebassembly/wasm/ArrayType.java @@ -100,15 +100,6 @@ public class ArrayType extends StructType { return componentClassIndex; } - /** - * {@inheritDoc} - */ - @Override - public int getCode() { - // until there is a real type definition we will define write it as externref - return ValueType.externref.getCode(); - } - /** * {@inheritDoc} */