rust/src/librustc/middle/trans
bors 9d6c251881 auto merge of #9885 : thestinger/rust/vector, r=brson
The goal here is to avoid requiring a division or multiplication to compare against the length. The bounds check previously used an incorrect micro-optimization to replace the division by a multiplication, but now neither is necessary *for slices*. Unique/managed vectors will have to do a division to get the length until they are reworked/replaced.
2013-10-16 15:21:35 -07:00
..
_match.rs introduce base_and_len fns for element length 2013-10-16 12:28:25 -04:00
adt.rs librustc: Combine C_struct and C_packed_struct. 2013-10-12 23:19:22 -04:00
asm.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
base.rs rename base_and_len -> base_and_byte_len 2013-10-16 12:00:31 -04:00
basic_block.rs
build.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
builder.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
cabi_arm.rs improve C ABI 2013-10-11 08:03:34 +08:00
cabi_mips.rs improve C ABI 2013-10-11 08:03:34 +08:00
cabi_x86_64.rs improve C ABI 2013-10-11 08:03:34 +08:00
cabi_x86.rs improve C ABI 2013-10-11 08:03:34 +08:00
cabi.rs improve C ABI 2013-10-11 08:03:34 +08:00
callee.rs treat uninhabited enums as voidish 2013-10-02 10:02:52 -04:00
closure.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
common.rs librustc: Combine C_struct and C_packed_struct. 2013-10-12 23:19:22 -04:00
consts.rs use element count in slices, not size in bytes 2013-10-15 16:23:28 -04:00
context.rs option: rewrite the API to use composition 2013-10-09 09:17:29 -04:00
controlflow.rs introduce base_and_len fns for element length 2013-10-16 12:28:25 -04:00
datum.rs introduce base_and_len fns for element length 2013-10-16 12:28:25 -04:00
debuginfo.rs auto merge of #9885 : thestinger/rust/vector, r=brson 2013-10-16 15:21:35 -07:00
expr.rs introduce base_and_len fns for element length 2013-10-16 12:28:25 -04:00
foreign.rs improve C ABI 2013-10-11 08:03:34 +08:00
glue.rs auto merge of #9735 : alexcrichton/rust/privacy, r=cmr 2013-10-07 21:46:39 -07:00
inline.rs librustc: Inline cross-crate tuple struct constructors 2013-10-01 14:24:34 -07:00
intrinsic.rs add an abort intrinsic 2013-10-14 22:45:43 -04:00
llrepr.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
machine.rs
macros.rs
meth.rs librustc: Combine C_struct and C_packed_struct. 2013-10-12 23:19:22 -04:00
mod.rs
monomorphize.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00
reflect.rs remove the float type 2013-10-01 14:54:10 -04:00
tvec.rs introduce base_and_len fns for element length 2013-10-16 12:28:25 -04:00
type_.rs auto merge of #9638 : pnkfelix/rust/fsk-issue7526-attempt-to-catch-nonuc-statics-in-match-patterns, r=alexcrichton 2013-10-02 01:16:31 -07:00
type_of.rs treat uninhabited enums as voidish 2013-10-02 10:02:52 -04:00
uniq.rs
value.rs trans::build: Change @mut Block to &Block or &mut Block 2013-09-30 19:37:22 +02:00
write_guard.rs rustc: Remove usage of fmt! 2013-09-30 23:21:19 -07:00