summary refs log tree commit diff
path: root/src/librustc_mir/util
AgeCommit message (Expand)AuthorLines
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-8/+10
2019-12-05rustc_mir: Fix tidy line lengthsPaul Daniel Faria-1/+3
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-8/+8
2019-12-03Fix angle bracket formatting when dumping MIR debug varsÖmer Sinan Ağacan-1/+1
2019-12-02Fix issues caused during rebasingPaul Daniel Faria-1/+1
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-23/+23
2019-12-02Remove BodyCache.body and rely on Deref as much as possible for ReadOnlyBodyC...Paul Daniel Faria-1/+1
2019-12-02Fix tidy errorsPaul Daniel Faria-1/+2
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-7/+7
2019-12-02Fix remaining Body -> (ReadOnly)BodyCache type errors in librustc_mir outside...Paul Daniel Faria-10/+9
2019-12-02Add predecessors fn to ReadOnlyBodyCache, fix more Body -> (ReadOnly)BodyCach...Paul Daniel Faria-19/+19
2019-12-02Move predecessors cache invalidation back to basic_blocks_mut, add a couple m...Paul Daniel Faria-1/+1
2019-12-02Stop invalidating predecessors cache when accessing unique basic block, inval...Paul Daniel Faria-1/+1
2019-12-02Inline cache impl into Body, rename predecessor fns, change output of predece...Paul Daniel Faria-1/+1
2019-12-02Remove interior mutability in mir predecessors cachePaul Daniel Faria-1/+1
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-17/+67
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-11-11Fix soundness issue with index bounds checksMatthew Jasper-6/+8
2019-11-10Merge hir::Mutability into ast::Mutability.Camille GILLOT-2/+2
2019-11-01Auto merge of #65459 - ecstatic-morse:graphviz-subgraph, r=estebankbors-13/+41
2019-10-22Move Place::elem methods and friends to TyCtxtSantiago Pastorino-27/+41
2019-10-22Intern place projectionSantiago Pastorino-28/+43
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-2/+2
2019-10-18Use Cow to handle modifications of projection in preparation for interningSantiago Pastorino-3/+3
2019-10-17Add process_* place hooks to improve code reutilizationSantiago Pastorino-16/+10
2019-10-17Remove unneeded callback and just use the new_local valueSantiago Pastorino-19/+13
2019-10-17Prepare def_use MutVisitor to have projections internedSantiago Pastorino-9/+27
2019-10-15Use subgraphs to render multiple MIR bodiesDylan MacKenzie-4/+20
2019-10-15Use `DefId` to create globally unique basic block labelsDylan MacKenzie-8/+20
2019-10-15Don't print newline inside a node labelDylan MacKenzie-1/+1
2019-10-04clean up GeneratorSubstscsmoe-1/+1
2019-10-04Rollup merge of #64817 - csmoe:closure, r=nikomatsakisMazdak Farrokhzad-1/+1
2019-10-03generate ClosureSubsts from SubstsRefcsmoe-1/+1
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-7/+7
2019-09-29remove bit_set re-export from rustc_data_structurescsmoe-1/+1
2019-09-25Rename `sty` to `kind`varkor-3/+3
2019-09-16Use while let slice_pattern instead of carrying an index aroundSantiago Pastorino-2/+3
2019-09-13Auto merge of #63420 - spastorino:place2_5, r=oli-obkbors-14/+10
2019-09-11Make Place Boxed on Statement to reduce size from 64 bytes to 32 bytesSantiago Pastorino-5/+5
2019-09-10rustc_mir: buffer -Zdump-mir output instead of pestering the kernel constantly.Eduard-Mihai Burtescu-2/+2
2019-09-09Convert Place's projection to a boxed sliceSantiago Pastorino-9/+5
2019-09-06Fixed grammar/style in error messages and reblessed tests.Alexander Regueiro-1/+1
2019-08-28Apply review commentsYuki Okushi-1/+4
2019-08-28Add Option<Span> to `require_lang_item`Yuki Okushi-1/+1
2019-08-16Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::Pattern...Eduard-Mihai Burtescu-3/+1
2019-08-11add tuple_fields convenience method and use it in a few placesRalf Jung-2/+2
2019-08-05Fiddle param env through to `try_eval_bits` in most placesOliver Scherer-1/+1
2019-08-05Don't abort on unevaluated constants without at least tryting to eval themOliver Scherer-1/+1
2019-07-20Migrate from Place enum to Place structSantiago Pastorino-11/+13
2019-07-16Auto merge of #62322 - wesleywiser:promoted_query, r=oli-obkbors-1/+1