diff options
| author | Corey Richardson <corey@octayn.net> | 2014-04-01 10:31:30 -0400 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2014-04-02 11:17:22 -0400 |
| commit | 32753ed8112c7fb16ffe3564c01e60db9c05bf0a (patch) | |
| tree | a9f5992296ddccc300fc19127a4981eab9674609 | |
| parent | f9973103c59c13026f03b499fd91ef5aa7196da6 (diff) | |
middle: trans: meth: remove dead code
| -rw-r--r-- | src/librustc/middle/trans/meth.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/librustc/middle/trans/meth.rs b/src/librustc/middle/trans/meth.rs index 3d4a33c217d..a206d42e589 100644 --- a/src/librustc/middle/trans/meth.rs +++ b/src/librustc/middle/trans/meth.rs @@ -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, |
