summary refs log tree commit diff
path: root/src/librustc_mir/build
AgeCommit message (Expand)AuthorLines
2018-02-11rustc_mir: insert a dummy access to places being matched on, when building MIR.Eduard-Mihai Burtescu-0/+16
2018-01-23avoid double-unsizing arrays in bytestring match loweringAriel Ben-Yehuda-23/+51
2017-12-24Auto merge of #46896 - arielb1:shadow-scope, r=eddybbors-13/+16
2017-12-24Auto merge of #46833 - diwic:7c-abort-ffi, r=arielb1bors-0/+36
2017-12-21Mir: fixup nits in previous commit (f536143)David Henningsson-6/+5
2017-12-21fix debuginfo scoping of let-statementsAriel Ben-Yehuda-13/+16
2017-12-21Mir: Abort on nounwind ABIsDavid Henningsson-0/+37
2017-12-20MIR: terminate unreachable blocks in construct_constMatti Niemenmaa-0/+7
2017-12-06fix handling of CallScopeDataAriel Ben-Yehuda-0/+11
2017-12-05Auto merge of #46492 - eddyb:move-ops, r=arielb1bors-4/+4
2017-12-05rustc_mir: don't move temporaries that are still used later.Eduard-Mihai Burtescu-4/+4
2017-12-04introduce `closure_env_ty` helper to compute ty of closure env argNiko Matsakis-23/+7
2017-12-03funnel all unwind paths through a single Resume blockAriel Ben-Yehuda-29/+40
2017-12-03initialize the destination in unit statementsAriel Ben-Yehuda-1/+3
2017-12-01MIR: s/lv(al(ue)?)?/place in function/variable/module names.Eduard-Mihai Burtescu-126/+126
2017-12-01MIR: s/Lvalue/Place in type names.Eduard-Mihai Burtescu-65/+65
2017-12-01Auto merge of #46236 - davidtwco:issue-46023, r=arielb1bors-1/+11
2017-11-30Fixed spurious cannot borrow immutable item error with a closure.David Wood-1/+1
2017-11-30Immutable unique closure upvars cannot be mutated.David Wood-0/+10
2017-11-28incr.comp.: Make MIR encoding fit for incr.comp. caching.Michael Woerister-1/+1
2017-11-28MIR: split Operand::Consume into Copy and Move.Eduard-Mihai Burtescu-31/+41
2017-11-21Auto merge of #45879 - nikomatsakis:nll-kill-cyclic-closures, r=arielb1bors-4/+13
2017-11-19Auto merge of #45225 - eddyb:trans-abi, r=arielb1bors-14/+11
2017-11-18rustc_mir: always downcast enums, even if univariant.Eduard-Mihai Burtescu-14/+11
2017-11-18remove `generator_sigs` from `TypeckTables`Niko Matsakis-2/+7
2017-11-18stop using the `closure_kinds` query / table for anythingNiko Matsakis-2/+6
2017-11-18Remove return_ty from Mirloomaclin-5/+3
2017-11-17Auto merge of #45996 - eddyb:even-mirer-1, r=arielb1bors-7/+1
2017-11-17Auto merge of #46004 - michaelwoerister:cached-mir-wip-3, r=nikomatsakisbors-3/+3
2017-11-17MIR: hide .rodata constants vs by-ref ABI clash in trans.Eduard-Mihai Burtescu-7/+1
2017-11-16Introduce LocalDefId which provides a type-level guarantee that the DefId is ...Michael Woerister-3/+3
2017-11-14Auto merge of #45821 - djzin:unreachable-match-arms, r=nikomatsakisbors-2/+21
2017-11-14don't send block back to be marked unreachable twiceDjzin-4/+2
2017-11-14rustc: split off BodyOwnerKind from MirSource.Eduard-Mihai Burtescu-15/+14
2017-11-14rustc: remove unused MirSource::GeneratorDrop.Eduard-Mihai Burtescu-2/+1
2017-11-14use lazy cached unreachable block - assign it to the function's closing braceDjzin-2/+21
2017-11-14always add an unreachable branch on matches to give more info to llvm about w...Djzin-2/+4
2017-11-06Auto merge of #45668 - nikomatsakis:nll-free-region, r=arielb1bors-2/+2
2017-11-02rename `Lookup` to `TyContext` and pass more info when visiting tysNiko Matsakis-2/+2
2017-11-02fix pre binding false edgesMikhail Modin-18/+21
2017-11-02fix opt-mir test and remove false edge if no guardMikhail Modin-4/+1
2017-11-02add TerminatorKind::FalseEdges and use it in matchesMikhail Modin-35/+87
2017-10-31make `closure_self_ty` invokable with `'gcx` and `'tcx`Niko Matsakis-4/+4
2017-10-26Add comments to clarify function argument ownershipBjörn Steinbrink-0/+2
2017-10-26Avoid unnecessary copies of arguments that are simple bindingsBjörn Steinbrink-5/+21
2017-10-20Auto merge of #45359 - arielb1:escaping-borrow, r=eddybbors-53/+86
2017-10-18run EndRegion when unwinding otherwise-empty scopesAriel Ben-Yehuda-44/+60
2017-10-17look past the next drop for the drop panic targetAriel Ben-Yehuda-9/+7
2017-10-17fix generator drop cachingAriel Ben-Yehuda-8/+27
2017-10-16restructure the public inhabitedness APIs and remove the cacheNiko Matsakis-4/+1