| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-13 | rename PanicInfo -> AssertKind | Ralf Jung | -3/+3 | |
| 2020-02-13 | move PanicInfo to mir module | Ralf Jung | -1/+1 | |
| 2020-02-09 | rustc_codegen_ssa: use `debug_introduce_local` on Operand call results. | Eduard-Mihai Burtescu | -0/+3 | |
| 2020-01-28 | Local field on PlaceRef and RootPlace is not a reference anymore | Santiago Pastorino | -1/+1 | |
| 2020-01-28 | codegen_place and related functions can take PlaceRef by value | Santiago Pastorino | -5/+5 | |
| 2020-01-10 | Add span_bug that notes that shuffle indices must be constant | Santiago Pastorino | -0/+2 | |
| 2020-01-10 | Remove PlaceBase enum and make Place base field be local: Local | Santiago Pastorino | -1/+1 | |
| 2020-01-10 | Use if let instead of match with one meaningful arm | Santiago Pastorino | -19/+9 | |
| 2020-01-10 | Remove StaticKind::Promoted | Santiago Pastorino | -30/+2 | |
| 2020-01-02 | Normalize `syntax::source_map` imports. | Mazdak Farrokhzad | -9/+8 | |
| 2019-12-25 | Run RustFmt | jumbatm | -1/+4 | |
| 2019-12-25 | Pass new instance instead of self.instance to simd_shuffle_indices. | jumbatm | -3/+3 | |
| 2019-12-22 | Format the world | Mark Rousskov | -237/+216 | |
| 2019-12-22 | Add simpler entry points to const eval for common usages. | Ben Lewis | -6/+1 | |
| 2019-12-08 | Rollup merge of #66991 - Nashenas88:body_cache_cleanup, r=eddyb | Mazdak Farrokhzad | -1/+1 | |
| Cleanup BodyCache After this PR: - `BodyCache` is renamed to `BodyAndCache` - `ReadOnlyBodyCache` is renamed to `ReadOnlyBodyAndCache` - `ReadOnlyBodyAndCache::body` fn is removed and all calls to it are replaced by a deref (possible due to fix of its `Deref` imp in #65947) cc @eddyb @oli-obk | ||||
| 2019-12-08 | Rollup merge of #66325 - BartMassey:master, r=joshtriplett | Mazdak Farrokhzad | -1/+1 | |
| Change unused_labels from allow to warn Fixes #66324, making the unused_labels lint warn instead of allow by default. I'm told @rust-lang/lang will need to review this, and perhaps will want to do a crater run. | ||||
| 2019-12-07 | Auto merge of #65881 - anp:implicit-caller-location, r=eddyb,oli-obk | bors | -8/+22 | |
| Implement #[track_caller] attribute. (RFC 2091 4/N) Implements the `#[track_caller]` attribute in both const and codegen contexts. The const implementation walks up the stack to find the nearest untracked callsite. The codegen implementation adds an implicit argument to tracked function calls, and populates it with either a call to the previously-landed intrinsic or if the caller has `#[track_caller]` with a copy of the location passed to the current function. Also includes a little cleanup and a few comments in the other caller location areas. [Depends on: 65664](https://github.com/rust-lang/rust/pull/65664) [RFC 2091 text](https://github.com/rust-lang/rfcs/blob/master/text/2091-inline-semantic.md) [Tracking issue](https://github.com/rust-lang/rust/issues/47809) [Tracking doc](https://paper.dropbox.com/doc/track_rfc_2091_impl-notes--Anf1NwnIb0xcRv31YLIadyj0Ag-rwCdRc2fi2yvRZ7syGZ9q#:uid=863513134494965680023183&h2=TODO-actually-pass-location-to) | ||||
| 2019-12-06 | Address review feedback. | Adam Perry | -2/+2 | |
| 2019-12-06 | Caller location is propagated via immediates rather than memory. | Adam Perry | -4/+2 | |
| 2019-12-05 | Pass a location to #[track_caller] functions in codegen_call_terminator. | Adam Perry | -0/+12 | |
| 2019-12-05 | Add field to FunctionCx for passing caller location. | Adam Perry | -8/+12 | |
| 2019-12-05 | rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ↵ | Paul Daniel Faria | -1/+1 | |
| Index impl, remove body fn rustc_codegen_ssa: Fix BodyAndCache reborrow to Body and change instances of body() call to derefence rustc_mir: Fix BodyAndCache reborrow to Body and change intances of body() call to derefence | ||||
| 2019-12-06 | use abort instead of unreachable | Ralf Jung | -0/+6 | |
| 2019-12-03 | rustc: take a PolyFnSig instead of an FnSig in FnAbi::of_fn_ptr. | Eduard-Mihai Burtescu | -17/+13 | |
| 2019-12-03 | rustc: rename FnAbi::new to FnAbi::of_fn_ptr. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-12-03 | rustc: compute FnAbi's for virtual calls through FnAbi::of_instance. | Eduard-Mihai Burtescu | -21/+25 | |
| 2019-12-03 | rustc_codegen_ssa: clean up lifetimes on TerminatorCodegenHelper's methods. | Eduard-Mihai Burtescu | -14/+13 | |
| 2019-12-03 | rustc_codegen_ssa: use &'tcx mir::Body<'tcx> instead of &'a ... for the MIR ↵ | Eduard-Mihai Burtescu | -21/+22 | |
| body. | ||||
| 2019-12-03 | rustc: expose the mir::Body reference lifetime from mir::ReadOnlyBodyCache ↵ | Eduard-Mihai Burtescu | -2/+2 | |
| (#64736 fallout). | ||||
| 2019-12-02 | Fix typos caused during rebase | Paul Daniel Faria | -2/+2 | |
| 2019-12-02 | Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, ↵ | Paul Daniel Faria | -2/+2 | |
| 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 | -4/+5 | |
| ReadOnlyBodyCache | ||||
| 2019-12-02 | Undo minor changes that weren't needed, fix one lifetime typo | Paul Daniel Faria | -18/+20 | |
| 2019-12-02 | Simplify BodyCache impl and fix all remaining type errors in librustc_mir ↵ | Paul Daniel Faria | -29/+29 | |
| (lifetime errors still exist) | ||||
| 2019-12-02 | Account for new maybe_sideeffect helper that requires predecessors | Paul Daniel Faria | -17/+17 | |
| 2019-12-02 | Revert back to using FunctionCx's Body | Paul Daniel Faria | -86/+67 | |
| 2019-12-02 | Add Body back as field of FunctionCx, but under a different lifetime | Paul Daniel Faria | -23/+23 | |
| 2019-12-02 | Remove Body from FunctionCx, pass it along during librustc_codegen_ssa | Paul Daniel Faria | -77/+94 | |
| 2019-12-02 | Simplify Cache wrapper to single type, impl Deref on it, fix all compilation ↵ | Paul Daniel Faria | -6/+6 | |
| errors in librustc_codegen_ssa | ||||
| 2019-11-30 | libunwind_panic: adjust miri panic hack | Ralf Jung | -11/+4 | |
| 2019-11-15 | Cleaned up unused labels | Bart Massey | -1/+1 | |
| Deleted unused labels from compiler and fixed or allowed unused labels in tests. This patch removes some gratuitous unused labels and turns off the warning for unused labels that are a necessary part of tests. This will permit setting the `unused_labels` lint to `warn`. | ||||
| 2019-11-11 | Add more detailed codegen comment | Aaron Hill | -0/+5 | |
| 2019-11-11 | Fix up intrinsic implementation | Aaron Hill | -0/+10 | |
| 2019-11-06 | Rollup merge of #65973 - eddyb:caller-location-panic, r=petrochenkov | Mazdak Farrokhzad | -1/+2 | |
| caller_location: point to macro invocation sites, like file!/line!, and use in core::panic!. The main change here is to `core::panic!`, trying to fix this remaining regression: https://github.com/rust-lang/rust/pull/65927#issuecomment-547625147 However, in order for `caller_location` to be usable from macros the same way `file!()`/`line!()` are, it needs to have the same behavior (of extracting the macro invocation site `Span` and using that). Arguably we would've had to do this at some point anyway, if we want to use `#[track_caller]` to replace the `file!()`/`line!()` uses from macros, but I'm not sure the RFC mentions this at all. r? @petrochenkov cc @anp @nnethercote | ||||
| 2019-11-03 | rustc: rename {Fn,Arg}TypeExt to {Fn,Arg}AbiExt. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-11-03 | rustc_target: rename {Fn,Arg}Type to {Fn,Arg}Abi. | Eduard-Mihai Burtescu | -46/+46 | |
| 2019-10-30 | caller_location: point to macro invocation sites, like file!/line!. | Eduard-Mihai Burtescu | -1/+2 | |
| 2019-10-27 | Always use consteval to codegen caller_location. | Adam Perry | -10/+20 | |
| 2019-10-27 | Panicking infra uses &core::panic::Location. | Adam Perry | -39/+8 | |
| This allows us to remove `static_panic_msg` from the SSA<->LLVM boundary, along with its fat pointer representation for &str. Also changes the signature of PanicInfo::internal_contructor to avoid copying. Closes #65856. | ||||
| 2019-10-27 | Implement core::intrinsics::caller_location. | Adam Perry | -0/+16 | |
| Returns a `&core::panic::Location` corresponding to where it was called, also making `Location` a lang item. | ||||
