]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #61350 - RalfJung:alloc, r=oli-obk
authorbors <bors@rust-lang.org>
Sat, 1 Jun 2019 16:06:11 +0000 (16:06 +0000)
committerbors <bors@rust-lang.org>
Sat, 1 Jun 2019 16:06:11 +0000 (16:06 +0000)
commitafaf9763717e91477971086de388c60ae00abab6
treed3c86adcdbf8669ac65854c187dddaa0fa467f1b
parentcd3f21bc7dc3d2d1a44367618940701ab308f7d2
parentcf26120fbb2d541797b473ab59cdf9c0efb5c002
Auto merge of #61350 - RalfJung:alloc, r=oli-obk

light refactoring of global AllocMap

* rename AllocKind -> GlobalAlloc. This stores the allocation itself, not just its kind.
* rename the methods that allocate stuff to have consistent names.

Cc @oli-obk
src/librustc/ty/context.rs
src/librustc_codegen_ssa/mir/operand.rs
src/librustc_mir/interpret/operand.rs
src/librustc_mir/interpret/place.rs
src/librustc_mir/interpret/validity.rs