@@ -160,9 +160,6 @@ pub trait TyVisitor {
160160 fn visit_enter_fn ( & mut self , purity : uint , proto : uint ,
161161 n_inputs : uint , retstyle : uint ) -> bool ;
162162 fn visit_fn_input ( & mut self , i : uint , mode : uint , inner : * TyDesc ) -> bool ;
163- #[ cfg( stage0) ]
164- fn visit_fn_output ( & mut self , retstyle : uint , inner : * TyDesc ) -> bool ;
165- #[ cfg( not( stage0) ) ]
166163 fn visit_fn_output ( & mut self , retstyle : uint , variadic : bool , inner : * TyDesc ) -> bool ;
167164 fn visit_leave_fn ( & mut self , purity : uint , proto : uint ,
168165 n_inputs : uint , retstyle : uint ) -> bool ;
@@ -313,7 +310,6 @@ extern "rust-intrinsic" {
313310 /// Gets an identifier which is globally unique to the specified type. This
314311 /// function will return the same value for a type regardless of whichever
315312 /// crate it is invoked in.
316- #[ cfg( not( stage0) ) ]
317313 pub fn type_id < T : ' static > ( ) -> u64 ;
318314
319315 /// Create a value initialized to zero.
@@ -337,11 +333,6 @@ extern "rust-intrinsic" {
337333 pub fn needs_drop < T > ( ) -> bool ;
338334
339335 /// Returns `true` if a type is managed (will be allocated on the local heap)
340- #[ cfg( stage0) ]
341- pub fn contains_managed < T > ( ) -> bool ;
342-
343- /// Returns `true` if a type is managed (will be allocated on the local heap)
344- #[ cfg( not( stage0) ) ]
345336 pub fn owns_managed < T > ( ) -> bool ;
346337
347338 pub fn visit_tydesc ( td : * TyDesc , tv : & mut TyVisitor ) ;
@@ -357,40 +348,19 @@ extern "rust-intrinsic" {
357348 /// integer, since the conversion would throw away aliasing information.
358349 pub fn offset < T > ( dst : * T , offset : int ) -> * T ;
359350
360- /// Equivalent to the `llvm.memcpy.p0i8.0i8.i32` intrinsic, with a size of
361- /// `count` * `size_of::<T>()` and an alignment of `min_align_of::<T>()`
362- #[ cfg( stage0) ]
363- pub fn memcpy32 < T > ( dst : * mut T , src : * T , count : u32 ) ;
364- /// Equivalent to the `llvm.memcpy.p0i8.0i8.i64` intrinsic, with a size of
365- /// `count` * `size_of::<T>()` and an alignment of `min_align_of::<T>()`
366- #[ cfg( stage0) ]
367- pub fn memcpy64 < T > ( dst : * mut T , src : * T , count : u64 ) ;
368-
369- /// Equivalent to the `llvm.memmove.p0i8.0i8.i32` intrinsic, with a size of
370- /// `count` * `size_of::<T>()` and an alignment of `min_align_of::<T>()`
371- #[ cfg( stage0) ]
372- pub fn memmove32 < T > ( dst : * mut T , src : * T , count : u32 ) ;
373- /// Equivalent to the `llvm.memmove.p0i8.0i8.i64` intrinsic, with a size of
374- /// `count` * `size_of::<T>()` and an alignment of `min_align_of::<T>()`
375- #[ cfg( stage0) ]
376- pub fn memmove64 < T > ( dst : * mut T , src : * T , count : u64 ) ;
377-
378- /// Equivalent to the `llvm.memset.p0i8.i32` intrinsic, with a size of
379- /// `count` * `size_of::<T>()` and an alignment of `min_align_of::<T>()`
380- #[ cfg( stage0) ]
381- pub fn memset32 < T > ( dst : * mut T , val : u8 , count : u32 ) ;
382- /// Equivalent to the `llvm.memset.p0i8.i64` intrinsic, with a size of
383- /// `count` * `size_of::<T>()` and an alignment of `min_align_of::<T>()`
384- #[ cfg( stage0) ]
385- pub fn memset64 < T > ( dst : * mut T , val : u8 , count : u64 ) ;
386-
387- #[ cfg( not( stage0) ) ]
351+ /// Equivalent to the appropriate `llvm.memcpy.p0i8.0i8.*` intrinsic, with
352+ /// a size of `count` * `size_of::<T>()` and an alignment of
353+ /// `min_align_of::<T>()`
388354 pub fn copy_nonoverlapping_memory < T > ( dst : * mut T , src : * T , count : uint ) ;
389355
390- #[ cfg( not( stage0) ) ]
356+ /// Equivalent to the appropriate `llvm.memmove.p0i8.0i8.*` intrinsic, with
357+ /// a size of `count` * `size_of::<T>()` and an alignment of
358+ /// `min_align_of::<T>()`
391359 pub fn copy_memory < T > ( dst : * mut T , src : * T , count : uint ) ;
392360
393- #[ cfg( not( stage0) ) ]
361+ /// Equivalent to the appropriate `llvm.memset.p0i8.*` intrinsic, with a
362+ /// size of `count` * `size_of::<T>()` and an alignment of
363+ /// `min_align_of::<T>()`
394364 pub fn set_memory < T > ( dst : * mut T , val : u8 , count : uint ) ;
395365
396366 pub fn sqrtf32 ( x : f32 ) -> f32 ;
0 commit comments