ClassGenerator.prepare: handle IsInstanceInstruction case

This commit is contained in:
volth 2019-08-06 21:53:46 +00:00 committed by Alexey Andreev
parent a5ba6f247e
commit c7309c06d0

View File

@ -177,6 +177,11 @@ public class ClassGenerator {
addType(ValueType.object(insn.getType())); addType(ValueType.object(insn.getType()));
} }
@Override
public void visit(IsInstanceInstruction insn) {
addType(insn.getType());
}
@Override @Override
public void visit(ConstructMultiArrayInstruction insn) { public void visit(ConstructMultiArrayInstruction insn) {
ValueType type = insn.getItemType(); ValueType type = insn.getItemType();