Remove support for the old-style intrinsics

Closes #2042
Closes #1981
This commit is contained in:
Marijn Haverbeke 2012-03-23 11:51:06 +01:00
parent 0303396f4c
commit f5024692d4
22 changed files with 15 additions and 1021 deletions

View file

@ -676,10 +676,6 @@ fn encode_info_for_native_item(ecx: @encode_ctxt, ebml_w: ebml::writer,
encode_def_id(ebml_w, local_def(nitem.id));
encode_family(ebml_w, purity_fn_family(fn_decl.purity));
encode_type_param_bounds(ebml_w, ecx, tps);
if abi == native_abi_rust_intrinsic {
ebml_w.start_tag(tag_item_is_intrinsic);
ebml_w.end_tag();
}
encode_type(ecx, ebml_w, node_id_to_type(ecx.ccx.tcx, nitem.id));
if abi == native_abi_rust_builtin {
astencode::encode_inlined_item(ecx, ebml_w, path,