remove dead code

This commit is contained in:
Volker Berlin 2020-02-24 11:14:28 +01:00
parent 8fd7ae26f7
commit 88e539f2a0

View File

@ -18,14 +18,11 @@ package de.inetsoftware.jwebassembly.module;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Nonnull;
import de.inetsoftware.classparser.ClassFile;
import de.inetsoftware.classparser.ClassFile.Type;
import de.inetsoftware.classparser.ConstantClass;
@ -86,31 +83,6 @@ public class TypeManager {
}
}
/**
* Use the type in the output.
*
* @param type
* the reference to a type
* @param id
* the id in the type section of the wasm
* @param fields
* the fields of the type
*/
void useType( StructType type, int id, List<NamedStorageType> fields ) {
type.code = id;
type.fields = fields;
}
/**
* Get the registered types in numeric order.
*
* @return the types
*/
@Nonnull
Collection<StructType> getTypes() {
return structTypes.values();
}
/**
* Get the StructType. If needed an instance is created.
*