summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2018-11-22Replace the ICEing on const fn loops with an errorOliver Scherer-5/+3
2018-11-19Refactor and add `PlaceContext::AscribeUserTy`.David Wood-35/+48
2018-11-19Add helpful logging statements.David Wood-1/+29
2018-10-31Fix an ICE in the min_const_fn analysisOliver Scherer-2/+3
2018-10-29Checkpoint: Added abstraction over collection of projections into user type.Felix S. Klock II-3/+3
2018-10-20Auto merge of #55014 - ljedrz:lazyboye_unwraps, r=matthewjasperbors-1/+1
2018-10-19Prefer `Default::default` over `FxHash*::default` in struct constructorsOliver Scherer-8/+6
2018-10-19Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hackOliver Scherer-5/+5
2018-10-19Rollup merge of #55071 - oli-obk:const_cast_🍨, r=RalfJungkennytm-3/+16
2018-10-19Prefer unwrap_or_else to unwrap_or in case of function calls/allocationsljedrz-1/+1
2018-10-17Squash closure cast error into fn ptr cast errorOliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer-4/+1
2018-10-15Explain all casts in detailOliver Scherer-2/+11
2018-10-14[mir-inlining] Don't inline virtual callsWesley Wiser-7/+16
2018-10-14Fix ICE and report a human readable errorOliver Scherer-3/+10
2018-10-12Auto merge of #54715 - oli-obk:nll_deref_promotion, r=RalfJungbors-14/+22
2018-10-12Add comments explaining why some operations are not constant inside normal fu...Oliver Scherer-0/+6
2018-10-09miri engine: also check return type before calling functionRalf Jung-0/+1
2018-10-05Add flag to `mir::LocalDecl` to track whether its a temp from some subexpr a ...Felix S. Klock II-0/+3
2018-10-04Auto merge of #54666 - matthewjasper:mir-function-spans, r=pnkfelixbors-2/+5
2018-10-03Record whether a Call in MIR corresponds to a call in HIRMatthew Jasper-2/+5
2018-10-03Only promote calls to `#[rustc_promotable]` const fnsOliver Schneider-76/+91
2018-10-02Rollup merge of #54702 - RalfJung:fn-ptr-promotion, r=oli-obkPietro Albini-1/+1
2018-10-01Auto merge of #54693 - RalfJung:ctfe-scalar-pair-undef, r=oli-obkbors-2/+2
2018-10-01Fix #54224 (const promotion regression)Oliver Schneider-14/+16
2018-09-30do not promote comparing function pointersRalf Jung-1/+1
2018-09-30move ScalarMaybeUndef into the miri engineRalf Jung-2/+2
2018-09-29Merge branch 'master' into dropMichael Bradshaw-35/+43
2018-09-28rustc: keep a Span for each predicate in ty::GenericPredicates.Eduard-Mihai Burtescu-1/+1
2018-09-26Auto merge of #54526 - nnethercote:shrink-StatementKind, r=nagisabors-34/+42
2018-09-26Make core::mem::needs_drop a const fnMichael Bradshaw-0/+1
2018-09-25Auto merge of #53438 - matthewjasper:permissive-match-access, r=pnkfelixbors-2/+65
2018-09-24Add a MIR transform to remove fake readsMatthew Jasper-2/+65
2018-09-24Auto merge of #54416 - christianpoveda:master, r=wesleywiserbors-2/+2
2018-09-24Shrink StatementKind::Assign.Nicholas Nethercote-34/+42
2018-09-23Auto merge of #54380 - RalfJung:miri-snapshot, r=eddybbors-9/+9
2018-09-20Extend MIR inlining to all operand variantsChristian Poveda-2/+2
2018-09-20move loop detector constants to the module that uses them; make lifetime orde...Ralf Jung-6/+6
2018-09-20rename evaluator -> interpreter to make eddyb happyRalf Jung-3/+3
2018-09-20move CTFE engine snapshot state out of miri engine into CTFE machine instanceRalf Jung-2/+2
2018-09-18Refactor 'ReadForMatch' into 'FakeRead' and add the cause of the fake readRemy Rakic-5/+5
2018-09-18Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs.Nicholas Nethercote-49/+47
2018-09-12Merge branch 'master' into kenta7777#53719kenta7777-17/+20
2018-09-10propagate user-ascribes types down onto resulting bindingsNiko Matsakis-0/+3
2018-09-10fixup: rename `UserAssertTy` to `AscribeUserType`Niko Matsakis-1/+1
2018-09-10add the `AscribeUserType` statement kindNiko Matsakis-16/+16
2018-09-10renamed mk_nil to mk_unitkenta7777-2/+2
2018-09-08Auto merge of #53903 - GabrielMajeri:opt-miri-array-slice, r=oli-obkbors-1/+1
2018-09-08Auto merge of #53705 - ms2300:tmp, r=oli-obkbors-1/+1
2018-09-08Optimize miri checking of integer array/slicesGabriel Majeri-1/+1
2018-09-07make field always private, add `From` implsNiko Matsakis-5/+2