about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-11-30 10:33:16 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-11-30 10:33:16 -0800
commitd783f4d7bb543f33aaf0fc8a04c6d5b2493e8268 (patch)
tree99adefcfadbe09ba87c648753954adbf92fd08fb /src/libsyntax/codemap.rs
parent38ba2c4941ede8d999a0208c50f1ad077ba259da (diff)
downloadrust-d783f4d7bb543f33aaf0fc8a04c6d5b2493e8268.tar.gz
rust-d783f4d7bb543f33aaf0fc8a04c6d5b2493e8268.zip
libs: Remove transitionary material on iter_bytes, add workcache to build.
Diffstat (limited to 'src/libsyntax/codemap.rs')
-rw-r--r--src/libsyntax/codemap.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index 8126f1d7200..693597eb840 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -72,15 +72,6 @@ impl BytePos: Num {
     static pure fn from_int(+n: int) -> BytePos { BytePos(n as uint) }
 }
 
-#[cfg(stage0)]
-impl BytePos: to_bytes::IterBytes {
-    pure fn iter_bytes(+lsb0: bool, f: to_bytes::Cb) {
-        (*self).iter_bytes(lsb0, f)
-    }
-}
-
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl BytePos: to_bytes::IterBytes {
     pure fn iter_bytes(&self, +lsb0: bool, f: to_bytes::Cb) {
         (**self).iter_bytes(lsb0, f)
@@ -127,14 +118,6 @@ impl CharPos: Num {
     static pure fn from_int(+n: int) -> CharPos { CharPos(n as uint) }
 }
 
-#[cfg(stage0)]
-impl CharPos: to_bytes::IterBytes {
-    pure fn iter_bytes(+lsb0: bool, f: to_bytes::Cb) {
-        (*self).iter_bytes(lsb0, f)
-    }
-}
-#[cfg(stage1)]
-#[cfg(stage2)]
 impl CharPos: to_bytes::IterBytes {
     pure fn iter_bytes(&self, +lsb0: bool, f: to_bytes::Cb) {
         (**self).iter_bytes(lsb0, f)