Skip to content

Commit

Permalink
rustc: One less bad copy
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed May 17, 2013
1 parent 00eef96 commit 226f4df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc/middle/trans/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2228,8 +2228,7 @@ pub fn register_fn_fuller(ccx: @CrateContext,
mangle_exported_name(ccx, /*bad*/copy path, node_type)
};
// XXX: Bad copy.
let llfn: ValueRef = decl_fn(ccx.llmod, copy ps, cc, llfty);
let llfn: ValueRef = decl_fn(ccx.llmod, ps, cc, llfty);
ccx.item_symbols.insert(node_id, ps);
// FIXME #4404 android JNI hacks
Expand Down

0 comments on commit 226f4df

Please sign in to comment.