private void visit_function(ModuleVisitor v, ETuple fun) {
EAtom name = (EAtom) fun.elm(2);
int ary = fun.elm(3).asInt();
int entry = fun.elm(4).asInt();
EList insns = (EList) fun.elm(5);
FunctionVisitor fv = v.visitFunction(name, ary, entry);
visit_insns(insns, fv);