summary refs log tree commit diff
path: root/src/librustc/mir
AgeCommit message (Expand)AuthorLines
2019-12-11Auto merge of #66650 - matthewjasper:nonuniform-array-move, r=pnkfelixbors-11/+24
2019-12-09Rollup merge of #67125 - hashedone:master, r=petrochenkovTyler Mandry-5/+9
2019-12-09Make const index and subslice array projections more usefulMatthew Jasper-11/+24
2019-12-09Added ExactSizeIterator bound to return typesBartłomiej Kuras-1/+1
2019-12-08Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddybMazdak Farrokhzad-34/+30
2019-12-07Added ExactSizeIterator bound to return typesBartłomiej Kuras-5/+9
2019-12-07Auto merge of #66927 - RalfJung:engines-dont-panic, r=oli-obkbors-5/+21
2019-12-06Fix rebase issuesvarkor-1/+1
2019-12-06Use `to_option` in various placesvarkor-5/+1
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-34/+30
2019-12-04Auto merge of #65947 - eddyb:fn-abi, r=oli-obk,nagisabors-10/+2
2019-12-03Rollup merge of #66951 - RalfJung:miri-machine-stop, r=oli-obkMazdak Farrokhzad-0/+7
2019-12-03rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache (#...Eduard-Mihai Burtescu-10/+2
2019-12-02Auto merge of #64736 - Nashenas88:mir_predecessors_cache_cleanup, r=oli-obkbors-115/+290
2019-12-02Use new HashStable proc macroPaul Daniel Faria-6/+1
2019-12-02Fix type errors created during rebasingPaul Daniel Faria-8/+1
2019-12-02Remove unchecked inline attribute, remove unused functions, make chache mod p...Paul Daniel Faria-48/+26
2019-12-02Remove inline attributes that hadn't been profiled, unexport Cache since it n...Paul Daniel Faria-17/+1
2019-12-02Compute predecessors in mir_build query and use existing cache for generating...Paul Daniel Faria-10/+0
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-29/+17
2019-12-02Remove BodyCache.body and rely on Deref as much as possible for ReadOnlyBodyC...Paul Daniel Faria-17/+17
2019-12-02Fix tidy errorsPaul Daniel Faria-3/+10
2019-12-02Fix remaining compilation issuesPaul Daniel Faria-7/+35
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-110/+82
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