summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-05-04 14:25:41 -0700
committerBrian Anderson <banderson@mozilla.com>2013-05-04 15:43:51 -0700
commit8081e8debf63726865e869aaacbd040755285a51 (patch)
tree9154d7c17af39c1e817bf27652d6a9d45b4009b5 /src/libsyntax/ext
parentb872900a5b4adb53b7d74d45a3138083b22940d6 (diff)
downloadrust-8081e8debf63726865e869aaacbd040755285a51.tar.gz
rust-8081e8debf63726865e869aaacbd040755285a51.zip
Register snapshots
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/base.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs
index db4912d2131..e56dab6db20 100644
--- a/src/libsyntax/ext/base.rs
+++ b/src/libsyntax/ext/base.rs
@@ -451,17 +451,6 @@ impl <K: Eq + Hash + IterBytes ,V: Copy> MapChain<K,V>{
 
     // ugh: can't get this to compile with mut because of the
     // lack of flow sensitivity.
-    #[cfg(stage0)]
-    fn get_map(&self) -> &'self HashMap<K,@V> {
-        match *self {
-            BaseMapChain (~ref map) => map,
-            ConsMapChain (~ref map,_) => map
-        }
-    }
-
-    // ugh: can't get this to compile with mut because of the
-    // lack of flow sensitivity.
-    #[cfg(not(stage0))]
     fn get_map<'a>(&'a self) -> &'a HashMap<K,@V> {
         match *self {
             BaseMapChain (~ref map) => map,