about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/shim.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-16Don't ICE when generating Fn shim for async closure with borrowck errorMichael Goulet-5/+12
2024-09-10Use `IndexVec::from_raw` to construct a const `IndexVec`.Nicholas Nethercote-3/+2
2024-09-10Improve comment formatting.Nicholas Nethercote-1/+2
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-3/+3
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-7/+5
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-1/+1
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-1/+1
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-3/+9
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-9/+10
2024-07-26Make coroutine-closures possible to be clonedMichael Goulet-0/+3
2024-07-25Let InstCombine remove Clone shims inside Clone shimsBen Kimock-1/+2
2024-06-29Fix FnMut/Fn shim for coroutine-closures that capture referencesMichael Goulet-18/+31
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-26/+29
2024-06-01Uplift TypeRelation and RelateMichael Goulet-2/+2
2024-05-17Rename Unsafe to SafetySantiago Pastorino-1/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-16Add simple async drop glue generationzetanumbers-0/+5
2024-04-04Auto merge of #123052 - maurer:addr-taken, r=compiler-errorsbors-1/+1
2024-04-03rename `expose_addr` to `expose_provenance`joboet-1/+1
2024-04-02Track reason for creating a `ReifyShim`Matthew Maurer-1/+1
2024-03-26In ConstructCoroutineInClosureShim, pass receiver by ref, not pointerMichael Goulet-3/+3
2024-03-22Eagerly convert some ctors to use their specialized ctorsMichael Goulet-13/+3
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-1/+3
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-1/+3
2024-03-19Add a few more commentsMichael Goulet-0/+9
2024-03-19Fix ABI for FnMut/Fn impls for async closuresMichael Goulet-5/+19
2024-03-19Only split by-ref/by-move futures for async closuresMichael Goulet-86/+12
2024-02-27Also support `fnptr(): async Fn` in codegenMichael Goulet-1/+5
2024-02-12Dejargnonize substShoyu Vanilla-3/+3
2024-02-07Stop using is_copy_modulo_regions when building clone shimMichael Goulet-4/+1
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-16/+61
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-0/+12
2024-02-06Build a shim to call async closures with different AsyncFn trait kindsMichael Goulet-1/+120
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-2/+3
2023-12-28Movability doesn't need to be a query anymoreMichael Goulet-1/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-2/+3
2023-11-28Fix coroutine validation for mixed panic strategyTomasz Miąsko-2/+4
2023-11-22Split critical call edges just before code generationTomasz Miąsko-1/+1
2023-11-17rename bound region instantiationlcnr-4/+4
2023-10-30Some more coroutine renamingsMichael Goulet-7/+7
2023-10-20s/generator/coroutine/Oli Scherer-5/+5
2023-10-20s/Generator/Coroutine/Oli Scherer-4/+4
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-4/+4
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-4/+4
2023-08-22Auto merge of #115005 - compiler-errors:passes, r=cjgillotbors-1/+5