mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
rustc: One less bad copy
This commit is contained in:
parent
00eef96a00
commit
226f4dfdfb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user