Skip to content

Commit 9dff70c

Browse files
committed
---
yaml --- r: 193587 b: refs/heads/beta c: f7c1fce h: refs/heads/master i: 193585: 35a42dd 193583: 48c7440 v: v3
1 parent f7e0e3e commit 9dff70c

File tree

4 files changed

+10
-27
lines changed

4 files changed

+10
-27
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 0e0bb8a128baee4ec074b6d82bdd73b48a4b8283
34+
refs/heads/beta: f7c1fce1440c41de7abd24e99628226cc04f38b1
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: de8a23bbc3a7b9cbd7574b5b91a34af59bf030e6

branches/beta/src/libcore/intrinsics.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,7 @@ extern "rust-intrinsic" {
545545
pub fn u32_mul_with_overflow(x: u32, y: u32) -> (u32, bool);
546546
/// Performs checked `u64` multiplication.
547547
pub fn u64_mul_with_overflow(x: u64, y: u64) -> (u64, bool);
548-
}
549548

550-
// SNAP 880fb89
551-
#[cfg(not(stage0))]
552-
extern "rust-intrinsic" {
553549
/// Returns (a + b) mod 2^N, where N is the width of N in bits.
554550
pub fn overflowing_add<T>(a: T, b: T) -> T;
555551
/// Returns (a - b) mod 2^N, where N is the width of N in bits.

branches/beta/src/libcore/num/wrapping.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
use ops::*;
1313

14-
#[cfg(not(stage0))]
1514
use intrinsics::{overflowing_add, overflowing_sub, overflowing_mul};
1615

1716
use intrinsics::{i8_add_with_overflow, u8_add_with_overflow};
@@ -40,7 +39,6 @@ pub trait OverflowingOps {
4039
fn overflowing_mul(self, rhs: Self) -> (Self, bool);
4140
}
4241

43-
#[cfg(not(stage0))]
4442
macro_rules! wrapping_impl {
4543
($($t:ty)*) => ($(
4644
impl WrappingOps for $t {
@@ -66,26 +64,6 @@ macro_rules! wrapping_impl {
6664
)*)
6765
}
6866

69-
#[cfg(stage0)]
70-
macro_rules! wrapping_impl {
71-
($($t:ty)*) => ($(
72-
impl WrappingOps for $t {
73-
#[inline(always)]
74-
fn wrapping_add(self, rhs: $t) -> $t {
75-
self + rhs
76-
}
77-
#[inline(always)]
78-
fn wrapping_sub(self, rhs: $t) -> $t {
79-
self - rhs
80-
}
81-
#[inline(always)]
82-
fn wrapping_mul(self, rhs: $t) -> $t {
83-
self * rhs
84-
}
85-
}
86-
)*)
87-
}
88-
8967
wrapping_impl! { uint u8 u16 u32 u64 int i8 i16 i32 i64 }
9068

9169
#[unstable(feature = "core", reason = "may be removed, renamed, or relocated")]

branches/beta/src/snapshots.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
S 2015-03-07 270a677
2+
freebsd-x86_64 3c147d8e4cfdcb02c2569f5aca689a1d8920d17b
3+
linux-i386 50a47ef247610fb089d2c4f24e4b641eb0ba4afb
4+
linux-x86_64 ccb20709b3c984f960ddde996451be8ce2268d7c
5+
macos-i386 ad263bdeadcf9bf1889426e0c1391a7cf277364e
6+
macos-x86_64 01c8275828042264206b7acd8e86dc719a2f27aa
7+
winnt-i386 cb73ac7a9bf408e8b5cdb92d595082a537a90794
8+
winnt-x86_64 b9b47e80101f726ae4f5919373ea20b92d827f3c
9+
110
S 2015-02-25 880fb89
211
bitrig-x86_64 8cdc4ca0a80103100f46cbf8caa9fe497df048c5
312
freebsd-x86_64 f4cbe4227739de986444211f8ee8d74745ab8f7f

0 commit comments

Comments
 (0)