about summary refs log tree commit diff
path: root/src/librustc/mir
AgeCommit message (Expand)AuthorLines
2019-12-02Add predecessors fn to ReadOnlyBodyCache, fix more Body -> (ReadOnly)BodyCach...Paul Daniel Faria-2/+6
2019-12-02Add read_only fn to BodyCache<&mut...> impl, fix more Body -> (ReadOnly)BodyC...Paul Daniel Faria-0/+9
2019-12-02Fix a large number of Body -> (ReadOnly)BodyCache type errors, add predecesso...Paul Daniel Faria-21/+43
2019-12-02Account for new maybe_sideeffect helper that requires predecessorsPaul Daniel Faria-54/+128
2019-12-02Improved BodyCache body impl so it only returns a sharable ref, add new body_...Paul Daniel Faria-6/+16
2019-12-02Simplify Cache wrapper to single type, impl Deref on it, fix all compilation ...Paul Daniel Faria-52/+60
2019-12-02Move predecessor cache outside of Body, use wrapper types to manage Cache and...Paul Daniel Faria-150/+258
2019-12-02Move predecessors cache back to its own typePaul Daniel Faria-12/+58
2019-12-02Add back cache invalidation to basic_blocks_and_local_decls_mutPaul Daniel Faria-1/+3
2019-12-02Address excessive line length that was triggering warning during lintingPaul Daniel Faria-1/+5
2019-12-02Move predecessors cache invalidation back to basic_blocks_mut, add a couple m...Paul Daniel Faria-55/+17
2019-12-02Ensure predecessors are recomputed at critical points, fixes panicsPaul Daniel Faria-17/+18
2019-12-02Address linting errors caught by CIPaul Daniel Faria-2/+4
2019-12-02Fix Mir visitor macro to ensure it calls the proper method to invalidate the ...Paul Daniel Faria-12/+24
2019-12-02Add pass to ensure predecessors cache is generated after optimizationPaul Daniel Faria-15/+3
2019-12-02Stop invalidating predecessors cache when accessing unique basic block, inval...Paul Daniel Faria-8/+41
2019-12-02Get rid of old commentPaul Daniel Faria-1/+0
2019-12-02Inline cache impl into Body, rename predecessor fns, change output of predece...Paul Daniel Faria-89/+36
2019-12-02Remove interior mutability in mir predecessors cachePaul Daniel Faria-16/+25
2019-12-02miri: add throw_machine_stop macroRalf Jung-0/+7
2019-12-02Add From instances for Pointer -> ScalarMaybeUndef and Pointer -> ImmediateRalf Jung-0/+7
2019-12-02Rollup merge of #66926 - RalfJung:miri-stop, r=oli-obkMazdak Farrokhzad-16/+12
2019-12-02Rollup merge of #66850 - eddyb:span-free-formats, r=oli-obkMazdak Farrokhzad-2/+6
2019-12-02Rollup merge of #66789 - eddyb:mir-source-scope-local-data, r=oli-obkMazdak Farrokhzad-6/+12
2019-12-01Miri core engine: use throw_ub instead of throw_panicRalf Jung-5/+21
2019-12-01add reusable MachineStop variant to Miri engine error enumRalf Jung-16/+12
2019-12-01Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obkMazdak Farrokhzad-7/+13
2019-11-30rustc: move mir::SourceScopeLocalData to a field of SourceScopeData.Eduard-Mihai Burtescu-6/+5
2019-11-30rustc: move MIR source_scope_local_data's ClearCrossCrate to be around elements.Eduard-Mihai Burtescu-2/+9
2019-11-29Auto merge of #66321 - ninjasource:async-fn-resume-after-completion, r=oli-obkbors-9/+29
2019-11-28rustc: hide HirId's fmt::Debug output from -Z span_free_formats.Eduard-Mihai Burtescu-2/+6
2019-11-28const_prop: detect and avoid catching Miri errors that require allocationRalf Jung-7/+13
2019-11-28Removed FIXME commentDavid Haig-2/+0
2019-11-28Remove duplication using single variant for errorDavid Haig-17/+14
2019-11-28Fixed merge issueDavid Haig-0/+10
2019-11-28Fixed merge issueDavid Haig-1/+1
2019-11-28SquashDavid Haig-4/+19
2019-11-28Auto merge of #66294 - davidhewitt:const_fn_memoization, r=oli-obkbors-1/+4
2019-11-27Rollup merge of #66798 - bwignall:typo, r=varkorTyler Mandry-2/+2
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-52/+52
2019-11-27Add memoization for const function evaluationsDavid Hewitt-1/+4
2019-11-27Auto merge of #66677 - wesleywiser:fix_const_prop_alloc_id_ice, r=oli-obkbors-1/+1
2019-11-26Fix spelling typosBrian Wignall-2/+2
2019-11-22Allow miri allocation interning to work im generic MachinesWesley Wiser-1/+1
2019-11-22Rollup merge of #66637 - RalfJung:typo, r=CentrilMazdak Farrokhzad-1/+1
2019-11-22Rollup merge of #66587 - matthewjasper:handle-static-as-const, r=oli-obkMazdak Farrokhzad-24/+83
2019-11-22fix reoccuring typo: dereferencable -> dereferenceableRalf Jung-1/+1
2019-11-22Auto merge of #66282 - Centril:simplify-try, r=oli-obkbors-7/+7
2019-11-21Address review commentsMatthew Jasper-7/+4
2019-11-21Track pointers to statics in MIRMatthew Jasper-16/+60