summary refs log tree commit diff
path: root/src/librustc_mir/util
AgeCommit message (Expand)AuthorLines
2020-06-13Revert "Defer creating drop trees in MIR lowering until leaving that scope"Felix S. Klock II-8/+3
2020-06-13Revert "Reduce the number of drop-flag assignments in unwind paths"Felix S. Klock II-11/+35
2020-05-16Improve documentation for drop elaborationJonas Schievink-8/+87
2020-05-13use `require_lang_item` over `unwrap`.Bastian Kauschke-4/+3
2020-05-10Rollup merge of #71840 - matthewjasper:drop-trees, r=oli-obkRalf Jung-38/+19
2020-05-09Rollup merge of #71508 - oli-obk:alloc_map_unlock, r=RalfJungRalf Jung-2/+1
2020-05-09Reduce the number of drop-flag assignments in unwind pathsMatthew Jasper-35/+11
2020-05-09Defer creating drop trees in MIR lowering until leaving that scopeMatthew Jasper-3/+8
2020-05-09Auto merge of #72036 - Dylan-DPC:rollup-ca8b0ql, r=Dylan-DPCbors-5/+7
2020-05-09Rollup merge of #71942 - nnethercote:shrink-LocalDecl, r=matthewjasperDylan DPC-5/+7
2020-05-08Auto merge of #71418 - hbina:rename_miri_undef, r=RalfJungbors-1/+1
2020-05-08Simplify the `tcx.alloc_map` APIOliver Scherer-2/+1
2020-05-07Remove old `util/liveness.rs` moduleDylan MacKenzie-327/+0
2020-05-07Renamed "undef" stuff to "uninit"Hanif Bin Ariffin-1/+1
2020-05-06Shrink `LocalDecl` by 16 bytes.Nicholas Nethercote-2/+4
2020-05-06Improve `LocalDecl` creation.Nicholas Nethercote-2/+2
2020-05-06Add `SourceInfo::outermost`.Nicholas Nethercote-1/+1
2020-05-03Add `MutatingUseContext::Yield`Dylan MacKenzie-0/+1
2020-04-30Rollup merge of #71590 - RalfJung:mir-dump-pointers, r=oli-obkTyler Mandry-11/+18
2020-04-28Rollup merge of #71585 - tshepang:obsolete-comment, r=Dylan-DPCDylan DPC-7/+0
2020-04-28Auto merge of #71292 - marmeladema:queries-local-def-id, r=eddybbors-1/+5
2020-04-27Return a `FxHashSet<LocalDefId>` from `mir_keys` querymarmeladema-1/+5
2020-04-27Emit basic block ids for statements and terminators in MIR only in -Zverbose ...Oliver Scherer-5/+5
2020-04-26fmtRalf Jung-1/+1
2020-04-26print pointers more compactly when they are too bigRalf Jung-0/+4
2020-04-26sync alloc dump and pointer printingRalf Jung-11/+14
2020-04-26remove obsolete commentTshepang Lekhonkhobe-7/+0
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-4/+4
2020-04-24add a few more DefKindsmark-1/+1
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-1/+1
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-1/+1
2020-04-22Use `Body` everywhereDylan MacKenzie-6/+6
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-3/+3
2020-04-17Minor fix and addition to doc commentsJOE1994-0/+1
2020-04-16don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger-12/+12
2020-04-11Pass the `PlaceElem::Index` local to `visit_local`Jonas Schievink-12/+1
2020-04-09Use `Visitor` for `AlwaysLiveLocals`Dylan MacKenzie-14/+19
2020-04-09Add utility to find locals that don't use `Storage*` annotationsDylan MacKenzie-0/+43
2020-04-08Suggest move for closures and async blocks in more cases.Alex Aktsipetrov-1/+3
2020-04-04share more alloc printing code between Miri and MIR dumpingRalf Jung-26/+44
2020-04-02direct imports for langitem stuffMazdak Farrokhzad-1/+1
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-3/+4
2020-04-01Rollup merge of #70627 - spastorino:use-place-directly-its-copy, r=oli-obkMazdak Farrokhzad-40/+37
2020-04-01Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwcoMazdak Farrokhzad-4/+4
2020-03-31Use Place directly, it's Copy even more use casesSantiago Pastorino-20/+20
2020-03-31Use Place directly, it's Copy more use casesSantiago Pastorino-21/+18
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-5/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-15/+17
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-31/+31
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-1/+1