middle: trans: meth: remove dead code

This commit is contained in:
Corey Richardson 2014-04-01 10:31:30 -04:00
parent f9973103c5
commit 32753ed811
1 changed files with 0 additions and 16 deletions

View File

@ -74,22 +74,6 @@ pub fn trans_impl(ccx: &CrateContext,
}
}
/// Translates a (possibly monomorphized) method body.
///
/// Parameters:
/// * `method`: the AST node for the method
/// * `param_substs`: if this is a generic method, the current values for
/// type parameters and so forth, else None
/// * `llfn`: the LLVM ValueRef for the method
///
pub fn trans_method(ccx: &CrateContext, method: &ast::Method,
param_substs: Option<@param_substs>,
llfn: ValueRef) -> ValueRef {
trans_fn(ccx, method.decl, method.body,
llfn, param_substs, method.id, []);
llfn
}
pub fn trans_method_callee<'a>(
bcx: &'a Block<'a>,
method_call: MethodCall,