| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-31 | Remove the `thir_{tree,flat}` hooks. | Nicholas Nethercote | -1/+1 | |
| They were downgraded from queries in #123995 but they can just be vanilla functions because they are not called in `rustc_middle`. | ||||
| 2023-02-26 | Move THIR printing to rustc_mir_build. | Camille GILLOT | -3/+1 | |
| 2022-05-20 | Remove `crate` visibility usage in compiler | Jacob Pratt | -3/+3 | |
| 2021-09-09 | move thir visitor to rustc_middle | Ellen | -1/+0 | |
| 2021-05-22 | Make THIR building a stealable query | LeSeulArtichaut | -1/+0 | |
| 2021-05-22 | Move THIR structure definitions to `rustc_middle` | LeSeulArtichaut | -426/+0 | |
| 2021-05-19 | Store THIR in `IndexVec`s instead of an `Arena` | LeSeulArtichaut | -79/+133 | |
| 2021-05-11 | [WIP] Create a `Visitor` for the THIR | LeSeulArtichaut | -0/+1 | |
| 2021-04-06 | Use AnonConst for asm! constants | Amanieu d'Antras | -1/+2 | |
| 2021-03-15 | Fix error after rebase | Roxane | -1/+1 | |
| 2021-03-15 | Add comments with examples and tests | Roxane | -1/+1 | |
| 2021-03-14 | Use the correct FakeReadCause | Roxane | -2/+2 | |
| 2021-03-14 | Introduce new fake reads | Roxane | -0/+1 | |
| 2021-03-11 | Make THIR data structures public | LeSeulArtichaut | -39/+40 | |
| 2021-03-09 | Make arena allocation for the THIR work | LeSeulArtichaut | -76/+79 | |
| 2021-03-09 | Remove `Clone` impl for `thir::Expr` | LeSeulArtichaut | -10/+10 | |
| 2021-03-09 | [WIP] Eagerly construct bodies of THIR | LeSeulArtichaut | -149/+62 | |
| 2021-03-06 | Change x64 size checks to not apply to x32. | Harald van Dijk | -1/+1 | |
| Rust contains various size checks conditional on target_arch = "x86_64", but these checks were never intended to apply to x86_64-unknown-linux-gnux32. Add target_pointer_width = "64" to the conditions. | ||||
| 2021-01-07 | Reintroduce hir::ExprKind::If | Caio | -0/+5 | |
| 2020-12-06 | Introduce if-let guards in the THIR | LeSeulArtichaut | -0/+1 | |
| 2020-11-17 | Remove THIR::ExprKind::SelfRef | Aman Arora | -2/+0 | |
| ExprKind::SelfRef was used to express accessing `self` in the desugared Closure/Generator struct when lowering captures in THIR. Since we handle captures in MIR now, we don't need `ExprKind::Self`. | ||||
| 2020-11-17 | Move capture lowering from THIR to MIR | Aman Arora | -0/+8 | |
| This allows us to: - Handle precise Places captured by a closure directly in MIR. Handling captures in MIR is easier since we can rely on/ tweak PlaceBuilder to generate `mir::Place`s that resemble how we store captures (`hir::Place`). - Allows us to handle `let _ = x` case when feature `capture_disjoint_fields` is enabled directly in MIR. This is required to be done in MIR since patterns are desugared in MIR. | ||||
| 2020-10-16 | Lower inline const down to MIR | Santiago Pastorino | -0/+3 | |
| 2020-09-07 | Add CONST_ITEM_MUTATION lint | Aaron Hill | -0/+4 | |
| Fixes #74053 Fixes #55721 This PR adds a new lint `CONST_ITEM_MUTATION`. Given an item `const FOO: SomeType = ..`, this lint fires on: * Attempting to write directly to a field (`FOO.field = some_val`) or array entry (`FOO.array_field[0] = val`) * Taking a mutable reference to the `const` item (`&mut FOO`), including through an autoderef `FOO.some_mut_self_method()` The lint message explains that since each use of a constant creates a new temporary, the original `const` item will not be modified. | ||||
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+448 | |
