moved opt_calling_conventions() to mark_private_methods() in ir_momery,c