summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2020-01-27Make pointers to statics internalMatthew Jasper-22/+24
2020-01-13Fix rebase damageJonas Schievink-1/+0
2020-01-13Use the correct type for static qualifsMatthew Jasper-8/+8
2019-12-16Rollup merge of #66570 - lzutao:stabilize-result-map_or, r=Dylan-DPCMazdak Farrokhzad-1/+1
2019-12-13Correctly mark things as `min_const_fn`Dylan MacKenzie-4/+6
2019-12-13Put MIR checks for loops behind the feature flagDylan MacKenzie-1/+7
2019-12-12Require `allow_internal_unstable` for stable min_const_fn using unstable feat...Oliver Scherer-5/+5
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-390/+5
2019-12-11Rollup merge of #67015 - osa1:issue66971, r=wesleywiserMazdak Farrokhzad-11/+37
2019-12-11Rollup merge of #67134 - oli-obk:const_prop_zst, r=wesleywiserYuki Okushi-4/+9
2019-12-09Remove `uniform_array_move_out` passesMatthew Jasper-386/+2
2019-12-09Make const index and subslice array projections more usefulMatthew Jasper-4/+3
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-87/+87
2019-12-08Ensure that we get a hard error on generic ZST constants if their body causes...Oliver Scherer-4/+9
2019-12-07Auto merge of #65881 - anp:implicit-caller-location, r=eddyb,oli-obkbors-0/+5
2019-12-06Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obkMazdak Farrokhzad-32/+57
2019-12-06const-prop: Restrict scalar pair propagationÖmer Sinan Ağacan-11/+37
2019-12-06Fix rebase issuesvarkor-2/+2
2019-12-06Rename to `then_some` and `then`varkor-1/+1
2019-12-06Use `to_option` in various placesvarkor-1/+1
2019-12-05`#[track_caller]` suppresses MIR inlining.Adam Perry-0/+5
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-87/+87
2019-12-05update comment to explain the importance of this check more clearlyRemy Rakic-2/+3
2019-12-05make const-qualif look at more `const fn`sRemy Rakic-1/+5
2019-12-04Auto merge of #66866 - oli-obk:const_fn_memoization, r=RalfJungbors-1/+1
2019-12-04Auto merge of #66275 - oli-obk:organize-intrinsics-promotion-checks, r=RalfJungbors-88/+4
2019-12-03rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache (#...Eduard-Mihai Burtescu-21/+21
2019-12-03TidyOliver Scherer-1/+0
2019-12-03Move all intrinsic whitelists into the constness check fileOliver Scherer-52/+3
2019-12-03Only check `min_const_fn` for const fnsOliver Scherer-1/+1
2019-12-03Check intrinsics for callability in const fnsMahmut Bulut-55/+21
2019-12-02Auto merge of #64736 - Nashenas88:mir_predecessors_cache_cleanup, r=oli-obkbors-171/+242
2019-12-02Suggest feature for const_mut_refs errorsChristian Poveda-3/+7
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-2/+1
2019-12-02Disallow cell borrowingChristian Poveda-27/+36
2019-12-02Allow mutable derefs with feature gateChristian Poveda-1/+5
2019-12-02Allow mutable borrows in constant bodiesChristian Poveda-0/+4
2019-12-02Rename feature gateChristian Poveda-1/+1
2019-12-02Allow &mut in const fns when feature gate is enabledChristian Poveda-4/+8
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-1/+1
2019-12-02Fix tidy issuesPaul Daniel Faria-1/+2
2019-12-02Fix rebasing errors, convert some BodyCache::body() calls to reborrowsPaul Daniel Faria-23/+24
2019-12-02Fix type errors created during rebasingPaul Daniel Faria-38/+42
2019-12-02Fix type errors cause during rebasingPaul Daniel Faria-4/+5
2019-12-02Compute predecessors in mir_build query and use existing cache for generating...Paul Daniel Faria-3/+4
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-331/+331
2019-12-02Remove BodyCache.body and rely on Deref as much as possible for ReadOnlyBodyC...Paul Daniel Faria-14/+14
2019-12-02Fix typoPaul Daniel Faria-1/+1
2019-12-02Fix tidy errorsPaul Daniel Faria-27/+74
2019-12-02Fix typos caused during rebasePaul Daniel Faria-3/+3