about summary refs log tree commit diff
path: root/src/librustc/metadata/common.rs
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2015-09-30 22:28:27 +0300
committerAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2015-10-01 00:14:56 +0300
commit709ce9f96ddd58a71bd7067bf49756e3bf6ac4ec (patch)
tree8a9c3d326252449707eedc6c7ad02308a491e9ba /src/librustc/metadata/common.rs
parent3e6d7243ae9749eff27fd320cb422e42291e79d4 (diff)
downloadrust-709ce9f96ddd58a71bd7067bf49756e3bf6ac4ec.tar.gz
rust-709ce9f96ddd58a71bd7067bf49756e3bf6ac4ec.zip
kill the fake provided method stubs
this simplifies the code while reducing the size of libcore.rlib by
3.3 MiB (~1M of which is bloat a separate patch of mine removes
too), while reducing rustc memory usage on small crates by 18MiB.

This also simplifies the code considerably.
Diffstat (limited to 'src/librustc/metadata/common.rs')
-rw-r--r--src/librustc/metadata/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/metadata/common.rs b/src/librustc/metadata/common.rs
index bc54d9ff133..a6cbb4ec504 100644
--- a/src/librustc/metadata/common.rs
+++ b/src/librustc/metadata/common.rs
@@ -180,7 +180,7 @@ pub const tag_mod_child: usize = 0x7b;
 pub const tag_misc_info: usize = 0x108; // top-level only
 pub const tag_misc_info_crate_items: usize = 0x7c;
 
-pub const tag_item_method_provided_source: usize = 0x7d;
+// GAP 0x7d
 pub const tag_item_impl_vtables: usize = 0x7e;
 
 pub const tag_impls: usize = 0x109; // top-level only