diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-08-12 17:25:14 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-08-12 17:37:46 -0400 |
| commit | 0cb0ef2ca5e4c0694f12ff1ca7d0a59d789b795b (patch) | |
| tree | d4400a81aaad9d6ff59b90e9f4328cba67f6b465 /src/libstd/unstable | |
| parent | 8b502d60abf582e799aa7390cb9b8ab2b4465e65 (diff) | |
| download | rust-0cb0ef2ca5e4c0694f12ff1ca7d0a59d789b795b.tar.gz rust-0cb0ef2ca5e4c0694f12ff1ca7d0a59d789b795b.zip | |
fix build with the new snapshot compiler
Diffstat (limited to 'src/libstd/unstable')
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 92725fda705..861b4f9a350 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -328,10 +328,6 @@ extern "rust-intrinsic" { /// Returns `true` if a type is managed (will be allocated on the local heap) pub fn contains_managed<T>() -> bool; - #[cfg(stage0)] - pub fn visit_tydesc(td: *TyDesc, tv: @TyVisitor); - - #[cfg(not(stage0))] pub fn visit_tydesc(td: *TyDesc, tv: &TyVisitor); pub fn frame_address(f: &once fn(*u8)); @@ -351,7 +347,6 @@ extern "rust-intrinsic" { /// /// This intrinsic should be preferred over `offset` when the guarantee can /// be satisfied, to enable better optimization. - #[cfg(not(stage0))] pub fn offset_inbounds<T>(dst: *T, offset: int) -> *T; /// Equivalent to the `llvm.memcpy.p0i8.0i8.i32` intrinsic, with a size of @@ -451,58 +446,34 @@ extern "rust-intrinsic" { pub fn bswap32(x: i32) -> i32; pub fn bswap64(x: i64) -> i64; - #[cfg(not(stage0))] pub fn i8_add_with_overflow(x: i8, y: i8) -> (i8, bool); - #[cfg(not(stage0))] pub fn i16_add_with_overflow(x: i16, y: i16) -> (i16, bool); - #[cfg(not(stage0))] pub fn i32_add_with_overflow(x: i32, y: i32) -> (i32, bool); - #[cfg(not(stage0))] pub fn i64_add_with_overflow(x: i64, y: i64) -> (i64, bool); - #[cfg(not(stage0))] pub fn u8_add_with_overflow(x: u8, y: u8) -> (u8, bool); - #[cfg(not(stage0))] pub fn u16_add_with_overflow(x: u16, y: u16) -> (u16, bool); - #[cfg(not(stage0))] pub fn u32_add_with_overflow(x: u32, y: u32) -> (u32, bool); - #[cfg(not(stage0))] pub fn u64_add_with_overflow(x: u64, y: u64) -> (u64, bool); - #[cfg(not(stage0))] pub fn i8_sub_with_overflow(x: i8, y: i8) -> (i8, bool); - #[cfg(not(stage0))] pub fn i16_sub_with_overflow(x: i16, y: i16) -> (i16, bool); - #[cfg(not(stage0))] pub fn i32_sub_with_overflow(x: i32, y: i32) -> (i32, bool); - #[cfg(not(stage0))] pub fn i64_sub_with_overflow(x: i64, y: i64) -> (i64, bool); - #[cfg(not(stage0))] pub fn u8_sub_with_overflow(x: u8, y: u8) -> (u8, bool); - #[cfg(not(stage0))] pub fn u16_sub_with_overflow(x: u16, y: u16) -> (u16, bool); - #[cfg(not(stage0))] pub fn u32_sub_with_overflow(x: u32, y: u32) -> (u32, bool); - #[cfg(not(stage0))] pub fn u64_sub_with_overflow(x: u64, y: u64) -> (u64, bool); - #[cfg(not(stage0))] pub fn i8_mul_with_overflow(x: i8, y: i8) -> (i8, bool); - #[cfg(not(stage0))] pub fn i16_mul_with_overflow(x: i16, y: i16) -> (i16, bool); - #[cfg(not(stage0))] pub fn i32_mul_with_overflow(x: i32, y: i32) -> (i32, bool); - #[cfg(not(stage0))] pub fn i64_mul_with_overflow(x: i64, y: i64) -> (i64, bool); - #[cfg(not(stage0))] pub fn u8_mul_with_overflow(x: u8, y: u8) -> (u8, bool); - #[cfg(not(stage0))] pub fn u16_mul_with_overflow(x: u16, y: u16) -> (u16, bool); - #[cfg(not(stage0))] pub fn u32_mul_with_overflow(x: u32, y: u32) -> (u32, bool); - #[cfg(not(stage0))] pub fn u64_mul_with_overflow(x: u64, y: u64) -> (u64, bool); } |
