rust/src/librustc_codegen_ssa
Mazdak Farrokhzad ef01330887
Rollup merge of #64588 - matthewjasper:mir-address-of, r=oli-obk
Add a raw "address of" operator

* Parse and feature gate `&raw [const | mut] expr` (feature gate name is `raw_address_of`)
* Add `mir::Rvalue::AddressOf`
* Use the new `Rvalue` for:
    * the new syntax
    * reference to pointer casts
    * drop shims for slices and arrays
* Stop using `mir::Rvalue::Cast` with a reference as the operand
* Correctly evaluate `mir::Rvalue::{Ref, AddressOf}` in constant propagation

cc @Centril @RalfJung @oli-obk @eddyb
cc #64490
2019-12-20 17:22:16 +01:00
..
back Rename to then_some and then 2019-12-06 12:24:54 +00:00
debuginfo Merge hir::Mutability into ast::Mutability. 2019-11-10 12:21:05 +01:00
mir Rollup merge of #64588 - matthewjasper:mir-address-of, r=oli-obk 2019-12-20 17:22:16 +01:00
traits rustc_codegen_ssa: use FnAbi::of_instance wherever possible. 2019-12-03 15:41:43 +02:00
base.rs Auto merge of #65947 - eddyb:fn-abi, r=oli-obk,nagisa 2019-12-04 08:22:05 +00:00
Cargo.toml Auto merge of #66981 - michaelwoerister:measureme-0.5.0, r=Mark-Simulacrum 2019-12-08 19:43:29 +00:00
common.rs Update to use new librustc_error_codes library 2019-11-14 13:05:42 +01:00
glue.rs Rename sty to kind 2019-09-25 15:50:04 +01:00
lib.rs Rename to then_some and then 2019-12-06 12:24:54 +00:00
meth.rs Aggregation of drive-by cosmetic changes. 2019-11-21 18:50:38 +00:00
mono_item.rs Rename Item.node to Item.kind 2019-09-26 18:21:48 +01:00
README.md remove the last remaining READMEs 2019-10-24 13:32:54 -05:00

Please read the rustc-guide chapter on Backend Agnostic Codegen.