} else if (insn.opcode() == BeamOpcode.int_code_end) {
newFI = new FunctionInfo(null,null,-1,-1); // Easy way to handle last function
}
if (newFI != null && newFI != fi) { // Do switch
if (fi != null) { // Add previous
FunctionRepr fun = new FunctionRepr(fi, currentFunctionBody);
functions.add(fun);
}
fi = newFI;
currentFunctionBody = new ArrayList<Insn>();
}