Skip to content

Commit 777a58f

Browse files
committed
---
yaml --- r: 42951 b: refs/heads/try c: 6105f09 h: refs/heads/master i: 42949: 355d579 42947: 4d72b43 42943: cede17b v: v3
1 parent b4579df commit 777a58f

File tree

4 files changed

+21
-35
lines changed

4 files changed

+21
-35
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5-
refs/heads/try: 159568eab51313490ca9faabd67b0e05bc129460
5+
refs/heads/try: 6105f09cc163ab728ff0ef18d4f817ad1a34bfb3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/src/libcore/either.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -150,23 +150,6 @@ pub pure fn unwrap_right<T,U>(eith: Either<T,U>) -> U {
150150
}
151151

152152
impl<T, U> Either<T, U> {
153-
#[inline(always)]
154-
fn either<V>(&self, f_left: fn(&T) -> V, f_right: fn(&U) -> V) -> V {
155-
either(f_left, f_right, self)
156-
}
157-
158-
#[inline(always)]
159-
fn flip(self) -> Either<U, T> { flip(self) }
160-
161-
#[inline(always)]
162-
fn to_result(self) -> Result<U, T> { to_result(self) }
163-
164-
#[inline(always)]
165-
fn is_left(&self) -> bool { is_left(self) }
166-
167-
#[inline(always)]
168-
fn is_right(&self) -> bool { is_right(self) }
169-
170153
#[inline(always)]
171154
fn unwrap_left(self) -> T { unwrap_left(self) }
172155

branches/try/src/libcore/prelude.rs

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,40 @@
1212

1313
/* Reexported core operators */
1414

15-
pub use either::{Either, Left, Right};
1615
pub use kinds::{Const, Copy, Owned, Durable};
16+
pub use ops::{Drop};
1717
pub use ops::{Add, Sub, Mul, Div, Modulo, Neg, Not};
1818
pub use ops::{BitAnd, BitOr, BitXor};
19-
pub use ops::{Drop};
2019
pub use ops::{Shl, Shr, Index};
2120
pub use option::{Option, Some, None};
2221
pub use result::{Result, Ok, Err};
2322

2423
/* Reexported types and traits */
2524

26-
pub use clone::Clone;
27-
pub use cmp::{Eq, Ord};
28-
pub use container::{Container, Mutable, Map, Set};
29-
pub use hash::Hash;
30-
pub use iter::{BaseIter, ExtendedIter, EqIter, CopyableIter};
31-
pub use iter::{CopyableOrderedIter, CopyableNonstrictIter, Times};
32-
pub use num::Num;
33-
pub use path::GenericPath;
3425
pub use path::Path;
35-
pub use path::PosixPath;
26+
pub use path::GenericPath;
3627
pub use path::WindowsPath;
37-
pub use pipes::{GenericChan, GenericPort};
38-
pub use ptr::Ptr;
39-
pub use str::{StrSlice, Trimmable};
40-
pub use to_bytes::IterBytes;
41-
pub use to_str::ToStr;
28+
pub use path::PosixPath;
29+
4230
pub use tuple::{CopyableTuple, ImmutableTuple, ExtendedTupleOps};
31+
pub use str::{StrSlice, Trimmable};
32+
pub use container::{Container, Mutable};
4333
pub use vec::{CopyableVector, ImmutableVector};
4434
pub use vec::{ImmutableEqVector, ImmutableCopyableVector};
4535
pub use vec::{OwnedVector, OwnedCopyableVector};
36+
pub use iter::{BaseIter, ExtendedIter, EqIter, CopyableIter};
37+
pub use iter::{CopyableOrderedIter, CopyableNonstrictIter, Times};
38+
pub use container::{Container, Mutable, Map, Set};
39+
pub use pipes::{GenericChan, GenericPort};
40+
41+
pub use num::Num;
42+
pub use ptr::Ptr;
43+
pub use to_str::ToStr;
44+
pub use clone::Clone;
45+
46+
pub use cmp::{Eq, Ord};
47+
pub use hash::Hash;
48+
pub use to_bytes::IterBytes;
4649

4750
/* Reexported modules */
4851

branches/try/src/librustc/middle/trans/foreign.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use syntax::parse::token::special_idents;
4242

4343
fn abi_info(arch: session::arch) -> cabi::ABIInfo {
4444
return match arch {
45-
arch_x86_64 => x86_64_abi_info(),
45+
arch_x86_64 | arch_arm => x86_64_abi_info(),
4646
_ => cabi::llvm_abi_info()
4747
}
4848
}

0 commit comments

Comments
 (0)