Skip to content

Commit 32753ed

Browse files
committed
middle: trans: meth: remove dead code
1 parent f997310 commit 32753ed

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/librustc/middle/trans/meth.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,6 @@ pub fn trans_impl(ccx: &CrateContext,
7474
}
7575
}
7676

77-
/// Translates a (possibly monomorphized) method body.
78-
///
79-
/// Parameters:
80-
/// * `method`: the AST node for the method
81-
/// * `param_substs`: if this is a generic method, the current values for
82-
/// type parameters and so forth, else None
83-
/// * `llfn`: the LLVM ValueRef for the method
84-
///
85-
pub fn trans_method(ccx: &CrateContext, method: &ast::Method,
86-
param_substs: Option<@param_substs>,
87-
llfn: ValueRef) -> ValueRef {
88-
trans_fn(ccx, method.decl, method.body,
89-
llfn, param_substs, method.id, []);
90-
llfn
91-
}
92-
9377
pub fn trans_method_callee<'a>(
9478
bcx: &'a Block<'a>,
9579
method_call: MethodCall,

0 commit comments

Comments
 (0)