rust/src/librustc_trans
bors 23ecebd6bd Auto merge of #43174 - RalfJung:refactor-ty, r=nikomatsakis
Refactor: {Lvalue,Rvalue,Operand}::ty only need the locals' types, not the full &Mir

I am writing code that needs to call these `ty` methods while mutating MIR -- which is impossible with the current API.

Even with the refactoring the situation is not great: I am cloning the `local_decls` and then passing the clone to the `ty` methods. I have to clone because `Mir::basic_blocks_mut` borrows the entire `Mir` including the `local_decls`. But even that is better than not being able to get these types at all...

Cc @nikomatsakis
2017-07-14 23:29:51 +00:00
..
back Use similar compression settings as before updating to use flate2 2017-07-10 17:54:50 +02:00
debuginfo incr.comp.: Don't include span information in the ICH of type definitions. 2017-07-07 14:23:38 +02:00
mir overload the mir ty methods to make them more ergonomic to use 2017-07-12 12:59:05 -07:00
abi.rs
adt.rs
allocator.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
asm.rs
assert_module_sources.rs
attributes.rs rustc: Implement stack probes for x86 2017-07-06 08:58:19 -07:00
base.rs Auto merge of #43147 - oyvindln:deflate_fix, r=alexcrichton 2017-07-11 07:42:13 +00:00
builder.rs
cabi_aarch64.rs
cabi_arm.rs
cabi_asmjs.rs
cabi_hexagon.rs
cabi_mips64.rs
cabi_mips.rs
cabi_msp430.rs
cabi_nvptx64.rs
cabi_nvptx.rs
cabi_powerpc64.rs
cabi_powerpc.rs
cabi_s390x.rs
cabi_sparc64.rs
cabi_sparc.rs
cabi_x86_64.rs
cabi_x86_win64.rs
cabi_x86.rs
callee.rs
Cargo.toml rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
collector.rs overload the mir ty methods to make them more ergonomic to use 2017-07-12 12:59:05 -07:00
common.rs rustc: move the PolyFnSig out of TyFnDef. 2017-06-27 16:39:52 +03:00
consts.rs
context.rs
declare.rs Switch to rust-lang-nursery/compiler-builtins 2017-07-05 07:08:36 -07:00
diagnostics.rs
glue.rs Add unsized tuple coercions. 2017-06-29 21:23:33 +09:00
intrinsic.rs rustc: move the PolyFnSig out of TyFnDef. 2017-06-27 16:39:52 +03:00
lib.rs remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
llvm_util.rs
machine.rs
metadata.rs
meth.rs
monomorphize.rs rustc: move the PolyFnSig out of TyFnDef. 2017-06-27 16:39:52 +03:00
partitioning.rs incr.comp.: Improve debug output for work products. 2017-07-10 12:20:56 +02:00
README.md
symbol_names_test.rs
trans_item.rs Downgrade ProjectionTy's TraitRef to its substs 2017-07-11 10:33:09 -04:00
tvec.rs
type_.rs
type_of.rs
value.rs