@@ -141,13 +141,13 @@ struct Variable(uint);
141141struct LiveNode ( uint ) ;
142142
143143impl cmp:: Eq for Variable {
144- pure fn eq ( & self , other : & Variable ) -> bool { * ( * self ) == * ( * other) }
145- pure fn ne ( & self , other : & Variable ) -> bool { * ( * self ) != * ( * other) }
144+ fn eq ( & self , other : & Variable ) -> bool { * ( * self ) == * ( * other) }
145+ fn ne ( & self , other : & Variable ) -> bool { * ( * self ) != * ( * other) }
146146}
147147
148148impl cmp:: Eq for LiveNode {
149- pure fn eq ( & self , other : & LiveNode ) -> bool { * ( * self ) == * ( * other) }
150- pure fn ne ( & self , other : & LiveNode ) -> bool { * ( * self ) != * ( * other) }
149+ fn eq ( & self , other : & LiveNode ) -> bool { * ( * self ) == * ( * other) }
150+ fn ne ( & self , other : & LiveNode ) -> bool { * ( * self ) != * ( * other) }
151151}
152152
153153enum LiveNodeKind {
@@ -158,7 +158,7 @@ enum LiveNodeKind {
158158}
159159
160160impl cmp:: Eq for LiveNodeKind {
161- pure fn eq ( & self , other : & LiveNodeKind ) -> bool {
161+ fn eq ( & self , other : & LiveNodeKind ) -> bool {
162162 match ( * self ) {
163163 FreeVarNode ( e0a) => {
164164 match ( * other) {
@@ -186,7 +186,7 @@ impl cmp::Eq for LiveNodeKind {
186186 }
187187 }
188188 }
189- pure fn ne ( & self , other : & LiveNodeKind ) -> bool { !( * self ) . eq ( other) }
189+ fn ne ( & self , other : & LiveNodeKind ) -> bool { !( * self ) . eq ( other) }
190190}
191191
192192fn live_node_kind_to_str ( lnk : LiveNodeKind , cx : ty:: ctxt ) -> ~str {
@@ -224,11 +224,11 @@ pub fn check_crate(tcx: ty::ctxt,
224224}
225225
226226impl to_str:: ToStr for LiveNode {
227- pure fn to_str ( & self ) -> ~str { fmt ! ( "ln(%u)" , * * self ) }
227+ fn to_str ( & self ) -> ~str { fmt ! ( "ln(%u)" , * * self ) }
228228}
229229
230230impl to_str:: ToStr for Variable {
231- pure fn to_str ( & self ) -> ~str { fmt ! ( "v(%u)" , * * self ) }
231+ fn to_str ( & self ) -> ~str { fmt ! ( "v(%u)" , * * self ) }
232232}
233233
234234// ______________________________________________________________________
@@ -254,7 +254,7 @@ impl to_str::ToStr for Variable {
254254// assignment. And so forth.
255255
256256pub impl LiveNode {
257- pure fn is_valid ( & self ) -> bool { * * self != uint:: max_value }
257+ fn is_valid ( & self ) -> bool { * * self != uint:: max_value }
258258}
259259
260260fn invalid_node ( ) -> LiveNode { LiveNode ( uint:: max_value) }
0 commit comments