summary refs log tree commit diff
path: root/src/librustc_mir/build
AgeCommit message (Expand)AuthorLines
2017-12-21Revert "Auto merge of #45225 - eddyb:trans-abi, r=arielb1"Ariel Ben-Yehuda-11/+14
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 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
2017-10-16refactor inhabitedness to have clearer public entry pointsNiko Matsakis-7/+4
2017-10-15Auto merge of #45200 - mikhail-m1:match-with-false-edges, r=nikomatsakisbors-5/+24
2017-10-11MIR-borrowck: add false edges to match armsYour Name-5/+24
2017-10-04Expand mir dump in order to handle NLL passChristopher Vittal-2/+2
2017-10-04Generate ScopeId using newtype_index macroSantiago Pastorino-13/+1
2017-09-25Auto merge of #44809 - arielb1:small-scope, r=eddybbors-2/+2
2017-09-24move Scope behind an enumAriel Ben-Yehuda-2/+2
2017-09-24move unsafety checking to MIRAriel Ben-Yehuda-24/+124
2017-09-24add lint levels to VisibilityScopeAriel Ben-Yehuda-30/+101
2017-09-20address review commentsAriel Ben-Yehuda-1/+5
2017-09-14bring Ty into scopeDouglas Campos-4/+4
2017-09-14bring TyCtxt into scopeDouglas Campos-2/+2
2017-09-13Fix issue #43481: emit the EndRegion *before* StorageDeads for a scope.Felix S. Klock II-4/+6
2017-09-11rustc: replace usize with u64 and ConstUsize.Eduard-Mihai Burtescu-5/+5
2017-09-11rustc: introduce ty::Const { ConstVal, Ty }.Eduard-Mihai Burtescu-17/+54
2017-09-11rustc: intern ConstVal's in TyCtxt.Eduard-Mihai Burtescu-33/+41
2017-09-08Use NodeId/HirId instead of DefId for local variables.Eduard-Mihai Burtescu-4/+4
2017-09-08Auto merge of #44142 - alexcrichton:dllimport-query, r=nikomatsakisbors-2/+2
2017-09-05rustc: Store InternedString in `DefPathData`Alex Crichton-1/+1
2017-09-05rustc: Migrate lang items to a queryAlex Crichton-1/+1
2017-09-05Emit `EndRegion` statements when given `-Z mir-emit-validate=N` (for N > 0).Felix S. Klock II-1/+1
2017-09-05Skip EndRegion emission by default. Use `-Z emit-end-regions` to reenable it.Felix S. Klock II-15/+20
2017-09-04rustc_mir: use Local instead of Lvalue in Storage{Live,Dead}.Eduard-Mihai Burtescu-9/+9