if (module instanceof MetaObject) module = MetaObject.create(((MetaObject)module).scope);
Variable constVal = s.getNewTemporaryVariable();
s.addInstr(new GetConstInstr(constVal, module, name));
return constVal;
} else if (iVisited instanceof Colon2MethodNode) {
Colon2MethodNode c2mNode = (Colon2MethodNode)iVisited;
List<Operand> args = setupCallArgs(null, s);
Operand block = setupCallClosure(null, s);
Variable callResult = s.getNewTemporaryVariable();
Instr callInstr = new CallInstr(callResult, new MethAddr(c2mNode.getName()),
null, args.toArray(new Operand[args.size()]), block);
s.addInstr(callInstr);
return callResult;
}
else { throw new NotCompilableException("Not compilable: " + iVisited); }