| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-12-03 | rustc: compute FnAbi's for virtual calls through FnAbi::of_instance. | Eduard-Mihai Burtescu | -36/+36 | |
| 2019-12-03 | rustc: use ReifyShim for reifying Virtual call instances. | Eduard-Mihai Burtescu | -25/+34 | |
| 2019-12-03 | rustc_codegen_ssa: use FnAbi::of_instance wherever possible. | Eduard-Mihai Burtescu | -30/+34 | |
| 2019-12-03 | rustc_codegen_llvm: move NoReturn attribute to apply_attrs_llfn. | Eduard-Mihai Burtescu | -7/+5 | |
| 2019-12-03 | rustc_codegen_ssa: take a FnAbi instead of a FnSig in declare_fn. | Eduard-Mihai Burtescu | -39/+45 | |
| 2019-12-03 | rustc_codegen_ssa: remove define_fn and define_internal_fn. | Eduard-Mihai Burtescu | -37/+3 | |
| 2019-12-03 | rustc_codegen_ssa: clean up lifetimes on TerminatorCodegenHelper's methods. | Eduard-Mihai Burtescu | -14/+13 | |
| 2019-12-03 | rustc_codegen_ssa: make codegen_instance a simple wrapper for codegen_mir. | Eduard-Mihai Burtescu | -10/+7 | |
| 2019-12-03 | rustc_codegen_ssa: use &'tcx mir::Body<'tcx> instead of &'a ... for the MIR ↵ | Eduard-Mihai Burtescu | -28/+29 | |
| body. | ||||
| 2019-12-03 | rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache ↵ | Eduard-Mihai Burtescu | -70/+62 | |
| (#64736 fallout). | ||||
| 2019-12-03 | rustc_mir: don't hardcode InstanceDef::VtableShim behavior to ↵ | Eduard-Mihai Burtescu | -18/+24 | |
| Adjustment::DerefMove. | ||||
| 2019-12-03 | rustc: combine Instance::fn_sig_noadjust and Instance::fn_sig. | Eduard-Mihai Burtescu | -17/+15 | |
| 2019-12-03 | Auto merge of #66256 - CAD97:patch-2, r=RalfJung | bors | -8/+9 | |
| Layout::pad_to_align is infallible As per [this comment](https://github.com/rust-lang/rust/issues/55724#issuecomment-441421651) (cc @glandium). > Per https://github.com/rust-lang/rust/blob/eb981a1/src/libcore/alloc.rs#L63-L65, `layout.size()` is always <= `usize::MAX - (layout.align() - 1)`. > > Which means: > > * The maximum value `layout.size()` can have is already aligned for `layout.align()` (`layout.align()` being a power of two, `usize::MAX - (layout.align() - 1)` is a multiple of `layout.align()`) > * Incidentally, any value smaller than that maximum value will align at most to that maximum value. > > IOW, `pad_to_align` can not return `Err(LayoutErr)`, except for the layout not respecting its invariants, but we shouldn't care about that. This PR makes `pad_to_align` return `Layout` directly, representing the fact that it cannot fail. | ||||
| 2019-12-02 | Auto merge of #64736 - Nashenas88:mir_predecessors_cache_cleanup, r=oli-obk | bors | -590/+942 | |
| Remove interior mutability in mir predecessors cache | ||||
| 2019-12-02 | Fix issues caused during rebasing | Paul Daniel Faria | -2/+1 | |
| 2019-12-02 | Fix issues caused during rebasing | Paul Daniel Faria | -5/+5 | |
| 2019-12-02 | Use new HashStable proc macro | Paul Daniel Faria | -6/+1 | |
| 2019-12-02 | Fix tidy issues | Paul Daniel Faria | -40/+53 | |
| 2019-12-02 | Fix rebasing errors, convert some BodyCache::body() calls to reborrows | Paul Daniel Faria | -38/+39 | |
| 2019-12-02 | Fix type errors created during rebasing | Paul Daniel Faria | -70/+67 | |
| 2019-12-02 | Remove unchecked inline attribute, remove unused functions, make chache mod ↵ | Paul Daniel Faria | -48/+26 | |
| private again | ||||
| 2019-12-02 | Remove inline attributes that hadn't been profiled, unexport Cache since it ↵ | Paul Daniel Faria | -17/+1 | |
| no longer needs to be public | ||||
| 2019-12-02 | Fix type errors cause during rebasing | Paul Daniel Faria | -5/+6 | |
| 2019-12-02 | Compute predecessors in mir_build query and use existing cache for ↵ | Paul Daniel Faria | -14/+7 | |
| generating ReadOnlyBodyCache, remove unneeded fns | ||||
| 2019-12-02 | Remove files created during conflict resolution | Paul Daniel Faria | -1696/+0 | |
| 2019-12-02 | Fix typos caused during rebase | Paul Daniel Faria | -2/+1698 | |
| 2019-12-02 | Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, ↵ | Paul Daniel Faria | -630/+618 | |
| rename all body_cache back to body | ||||
| 2019-12-02 | Remove BodyCache.body and rely on Deref as much as possible for ↵ | Paul Daniel Faria | -87/+89 | |
| ReadOnlyBodyCache | ||||
| 2019-12-02 | Undo minor changes that weren't needed, fix one lifetime typo | Paul Daniel Faria | -30/+31 | |
| 2019-12-02 | Fix compilation errors created during rebase | Paul Daniel Faria | -2/+2 | |
| 2019-12-02 | Fix typo | Paul Daniel Faria | -1/+1 | |
| 2019-12-02 | Fix tidy errors | Paul Daniel Faria | -62/+182 | |
| 2019-12-02 | Fix typos caused during rebase | Paul Daniel Faria | -6/+6 | |
| 2019-12-02 | Fix remaining compilation issues | Paul Daniel Faria | -50/+102 | |
| 2019-12-02 | Simplify BodyCache impl and fix all remaining type errors in librustc_mir ↵ | Paul Daniel Faria | -612/+588 | |
| (lifetime errors still exist) | ||||
| 2019-12-02 | Fix remaining Body -> (ReadOnly)BodyCache type errors in librustc_mir ↵ | Paul Daniel Faria | -14/+16 | |
| outside of librustc_mir/transform | ||||
| 2019-12-02 | Fix typo caused by rebasing | Paul Daniel Faria | -1/+1 | |
| 2019-12-02 | Add predecessors fn to ReadOnlyBodyCache, fix more Body -> ↵ | Paul Daniel Faria | -47/+52 | |
| (ReadOnly)BodyCache type errors | ||||
| 2019-12-02 | Add read_only fn to BodyCache<&mut...> impl, fix more Body -> ↵ | Paul Daniel Faria | -40/+48 | |
| (ReadOnly)BodyCache type errors | ||||
| 2019-12-02 | Fix a large number of Body -> (ReadOnly)BodyCache type errors, add ↵ | Paul Daniel Faria | -183/+207 | |
| predecessor_locations fn to ReadOnlyBodyCache | ||||
| 2019-12-02 | Account for new maybe_sideeffect helper that requires predecessors | Paul Daniel Faria | -133/+176 | |
| 2019-12-02 | Convert &mut to & since the reference didn't need to be mutable | Paul Daniel Faria | -2/+2 | |
| 2019-12-02 | Revert back to using FunctionCx's Body | Paul Daniel Faria | -147/+118 | |
| 2019-12-02 | Add Body back as field of FunctionCx, but under a different lifetime | Paul Daniel Faria | -49/+46 | |
| 2019-12-02 | Improved BodyCache body impl so it only returns a sharable ref, add new ↵ | Paul Daniel Faria | -12/+23 | |
| body_mut method, fix visit macros, simplify usage in codegen_ssa analyzer | ||||
| 2019-12-02 | Remove Body from FunctionCx, pass it along during librustc_codegen_ssa | Paul Daniel Faria | -159/+184 | |
| 2019-12-02 | Simplify Cache wrapper to single type, impl Deref on it, fix all compilation ↵ | Paul Daniel Faria | -162/+132 | |
| errors in librustc_codegen_ssa | ||||
| 2019-12-02 | Move predecessor cache outside of Body, use wrapper types to manage Cache ↵ | Paul Daniel Faria | -161/+300 | |
| and Body (WIP, amend this commit) | ||||
| 2019-12-02 | Move predecessors cache back to its own type | Paul Daniel Faria | -14/+61 | |
| This ensures that the cache can be properly ignored during encoding and decoding. Fix panics that arose due to lack of encoding | ||||
| 2019-12-02 | Add back cache invalidation to basic_blocks_and_local_decls_mut | Paul Daniel Faria | -1/+3 | |
