Skip to content

Commit 8a382e6

Browse files
committed
---
yaml --- r: 83106 b: refs/heads/auto c: 420b426 h: refs/heads/master v: v3
1 parent e70cc2c commit 8a382e6

File tree

7 files changed

+2
-51
lines changed

7 files changed

+2
-51
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 1252ad409258c2d3a2595f8a77dc7b84491cca77
16+
refs/heads/auto: 420b4260b4000af2b1ffb579fb7df5e437e0faa2
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/librustc/middle/trans/intrinsic.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ pub fn trans_intrinsic(ccx: @mut CrateContext,
222222
}
223223

224224
match name {
225-
"abort" => {
226-
let llfn = bcx.ccx().intrinsics.get_copy(&("llvm.trap"));
227-
Call(bcx, llfn, [], []);
228-
RetVoid(bcx);
229-
}
230225
"size_of" => {
231226
let tp_ty = substs.tys[0];
232227
let lltp_ty = type_of::type_of(ccx, tp_ty);

branches/auto/src/librustc/middle/typeck/check/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3585,7 +3585,6 @@ pub fn check_intrinsic_type(ccx: @mut CrateCtxt, it: @ast::foreign_item) {
35853585

35863586
} else {
35873587
match name {
3588-
"abort" => (0, ~[], ty::mk_bot()),
35893588
"size_of" |
35903589
"pref_align_of" | "min_align_of" => (1u, ~[], ty::mk_uint()),
35913590
"init" => (1u, ~[], param(ccx, 0u)),

branches/auto/src/libstd/unstable/intrinsics.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ pub trait TyVisitor {
171171
}
172172

173173
extern "rust-intrinsic" {
174-
/// Abort the execution of the process.
175-
#[cfg(not(stage0))]
176-
pub fn abort() -> !;
177174

178175
/// Atomic compare and exchange, sequentially consistent.
179176
pub fn atomic_cxchg(dst: &mut int, old: int, src: int) -> int;

branches/auto/src/libstd/unstable/lang.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub fn fail_(expr: *c_char, file: *c_char, line: size_t) -> ! {
2525
pub fn fail_bounds_check(file: *c_char, line: size_t,
2626
index: size_t, len: size_t) {
2727
let msg = format!("index out of bounds: the len is {} but the index is {}",
28-
len as int, index as int);
28+
len as uint, index as uint);
2929
do msg.with_c_str |buf| {
3030
fail_(buf, file, line);
3131
}

branches/auto/src/test/run-fail/small-negative-indexing.rs

Lines changed: 0 additions & 19 deletions
This file was deleted.

branches/auto/src/test/run-fail/vec-underrun.rs

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)