libs: Remove transitionary material on iter_bytes, add workcache to build.

This commit is contained in:
Graydon Hoare
2012-11-30 10:33:16 -08:00
parent 38ba2c4941
commit d783f4d7bb
13 changed files with 1 additions and 885 deletions

View File

@@ -252,15 +252,6 @@ pure fn is_call_expr(e: @expr) -> bool {
}
// This makes def_id hashable
#[cfg(stage0)]
impl def_id : core::to_bytes::IterBytes {
#[inline(always)]
pure fn iter_bytes(+lsb0: bool, f: core::to_bytes::Cb) {
core::to_bytes::iter_bytes_2(&self.crate, &self.node, lsb0, f);
}
}
#[cfg(stage1)]
#[cfg(stage2)]
impl def_id : core::to_bytes::IterBytes {
#[inline(always)]
pure fn iter_bytes(&self, +lsb0: bool, f: core::to_bytes::Cb) {