about summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2020-04-25Rollup merge of #71527 - ecstatic-morse:debug-check-consts, r=Dylan-DPCDylan DPC-10/+1
2020-04-25Rollup merge of #71330 - ecstatic-morse:const-qualif-lazy, r=oli-obkDylan DPC-72/+83
2020-04-24Revert "Move early needs_subst bailout to _after_ linting."Ralf Jung-5/+5
2020-04-24Remove unused `visit_local`Dylan MacKenzie-9/+0
2020-04-24Use `debug` to print illegal operations in a const contextDylan MacKenzie-1/+1
2020-04-24Remove `Option` from the return type of `def_kind`.Eduard-Mihai Burtescu-11/+8
2020-04-24add a few more DefKindsmark-1/+1
2020-04-24Auto merge of #71509 - Dylan-DPC:rollup-n8s37rm, r=Dylan-DPCbors-41/+29
2020-04-24Rollup merge of #71475 - RalfJung:miri-frame-loc, r=ecstatic-morseDylan DPC-41/+29
2020-04-24Don't run various MIR optimizations at mir-opt-level=0Wesley Wiser-55/+81
2020-04-24Auto merge of #70820 - spastorino:replace-fragile-erroneous-const-sys, r=oli-obkbors-27/+62
2020-04-23Address comments from reviewmarmeladema-6/+4
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-42/+32
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-64/+81
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-16/+16
2020-04-23normalize field projection ty to fix broken MIR issueSantiago Pastorino-0/+1
2020-04-23Import RequiredConstsVisitorSantiago Pastorino-2/+2
2020-04-23Rename uneval_consts to required_constsSantiago Pastorino-35/+37
2020-04-23Clean up fragile checks of optimized away constantsSantiago Pastorino-25/+10
2020-04-23Make ConstPropagator only visit basic blocks when visiting bodySantiago Pastorino-0/+6
2020-04-23Make inlining carry over unevaluated constsSantiago Pastorino-1/+9
2020-04-23Add MirPass to collect Unevaluated consts in MIR bodySantiago Pastorino-1/+35
2020-04-23Lazily run dataflow for const qualificationDylan MacKenzie-43/+56
2020-04-23Don't cache result of `in_any_value_of_ty` for localsDylan MacKenzie-53/+51
2020-04-23Make type alias privateDylan MacKenzie-1/+1
2020-04-23Miri Frame: use mir::Location to represent position in functionRalf Jung-41/+29
2020-04-23Rollup merge of #71198 - oli-obk:const_check_cleanup, r=RalfJungDylan DPC-155/+175
2020-04-23Rollup merge of #71005 - jonas-schievink:no-place-like-return, r=oli-obkDylan DPC-109/+47
2020-04-23Update src/librustc_mir/interpret/memory.rsOliver Scherer-1/+3
2020-04-23Disallow statics initializing themselvesOliver Scherer-1/+10
2020-04-23Document our sanity assertion around explicit promotionOliver Scherer-0/+4
2020-04-23Catch and fix explicit promotions that fail to actually promoteOliver Scherer-0/+8
2020-04-23Use `ConstCx` for `validate_candidates`Oliver Scherer-10/+8
2020-04-23Use ConstCx in the promoted collectorOliver Scherer-16/+14
2020-04-23Use ConstCx in more placesOliver Scherer-15/+27
2020-04-23Rename `Item` to `ConstCx`.Oliver Scherer-120/+120
2020-04-23Auto merge of #71312 - wesleywiser:const_prop_bitset, r=Mark-Simulacrumbors-5/+4
2020-04-22Remove `predecessors_for`Dylan MacKenzie-3/+3
2020-04-22Move `{Free,}RegionRelations` and `FreeRegionMap` out of `rustc_middle`Dylan MacKenzie-1/+1
2020-04-22Auto merge of #71044 - ecstatic-morse:body-predecessor-cache, r=oli-obkbors-303/+243
2020-04-22Use `Body` everywhereDylan MacKenzie-232/+173
2020-04-22Don't use `*` for deref-coercionDylan MacKenzie-71/+70
2020-04-22Rollup merge of #71401 - spastorino:remove-visit-place-base, r=wesleywiserDylan DPC-8/+7
2020-04-22Rollup merge of #71336 - ecstatic-morse:check-consts-asm, r=oli-obkDylan DPC-5/+31
2020-04-22Rollup merge of #71280 - RalfJung:mplace-check-align, r=oli-obkDylan DPC-2/+7
2020-04-22comment explaining force_align usageRalf Jung-0/+3
2020-04-22Rollup merge of #70970 - eddyb:trait-vs-impl-mismatch, r=oli-obkDylan DPC-10/+21
2020-04-22Rollup merge of #71236 - sinkuu:cleanup, r=nikomatsakisYuki Okushi-1/+0
2020-04-21visit_place_base is just visit_localSantiago Pastorino-8/+7
2020-04-21Assign correct span to new illegal opsDylan MacKenzie-0/+2