| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-07-02 | Miri function identity hack: account for possible inlining | Ralf Jung | -1/+1 | |
| 2024-06-28 | Revert "Rollup merge of #126938 - RalfJung:link_section, r=compiler-errors" | Rémy Rakic | -2/+10 | |
| This reverts commit 5c4ede88c61e746ed5c852d7a7e38ab1a824ae52, reversing changes made to 95332b89187bb6a0c910574cfeff1933b619565a. | ||||
| 2024-06-25 | miri: make sure we can find link_section statics even for the local crate | Ralf Jung | -10/+2 | |
| 2024-06-11 | reachable computation: clarify comments around consts | Ralf Jung | -6/+9 | |
| 2024-06-05 | Also support generic constants | Oli Scherer | -9/+9 | |
| 2024-06-05 | Don't walk the bodies of free constants for reachability. | Oli Scherer | -4/+14 | |
| 2024-06-04 | Closures are recursively reachable | Tomasz Miąsko | -0/+1 | |
| 2024-05-23 | Remove `#[macro_use] extern crate tracing` from `rustc_passes`. | Nicholas Nethercote | -0/+1 | |
| 2024-05-09 | reachable computation: extend explanation of what this does, and why | Ralf Jung | -10/+22 | |
| 2024-04-29 | Remove `extern crate rustc_middle` from numerous crates. | Nicholas Nethercote | -0/+1 | |
| 2024-03-28 | Rollup merge of #123063 - tmiasko:reachability-abi, r=michaelwoerister | Matthias Krüger | -12/+1 | |
| Function ABI is irrelevant for reachability | ||||
| 2024-03-25 | Rollup merge of #122769 - RalfJung:reachable, r=tmiasko | Jubilee | -23/+49 | |
| extend comments for reachability set computation I hope this is right. :) Please review carefully. r? ``@tmiasko`` Cc ``@oli-obk`` ``@saethlin`` | ||||
| 2024-03-25 | extend doc comment for reachability set computation | Ralf Jung | -23/+49 | |
| also extend the const fn reachability test | ||||
| 2024-03-25 | Function ABI is irrelevant for reachability | Tomasz Miąsko | -12/+1 | |
| 2024-03-21 | rename items -> free_items | Ralf Jung | -1/+1 | |
| 2024-03-19 | The AssocOpaqueTy HIR node is not actually needed to differentiate from ↵ | Oli Scherer | -1/+1 | |
| other hir nodes that were fed | ||||
| 2024-03-16 | Auto merge of #122371 - oli-obk:visit_nested_body, r=tmiasko | bors | -39/+79 | |
| Stop walking the bodies of statics for reachability, and evaluate them instead cc `@saethlin` `@RalfJung` cc #119214 This reuses the `DefIdVisitor` from `rustc_privacy`, because they basically try to do the same thing. This PR's changes can probably be extended to constants, too, but let's tackle that separately, it's likely more involved. | ||||
| 2024-03-14 | hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id` | Vadim Petrochenkov | -9/+6 | |
| Also replace a few `hir_node()` calls with `hir_node_by_def_id()` | ||||
| 2024-03-14 | Test and implement reachability for trait objects and generic parameters of ↵ | Oli Scherer | -4/+31 | |
| functions | ||||
| 2024-03-14 | Stop walking the bodies of statics for reachability, and evaluate them instead | Oli Scherer | -38/+51 | |
| 2024-03-13 | Create some minimal HIR for associated opaque types | Vadim Petrochenkov | -1/+2 | |
| 2024-03-12 | Ensure nested allocations in statics do not get deduplicated | Oli Scherer | -1/+38 | |
| 2024-03-12 | Change `DefKind::Static` to a struct variant | Oli Scherer | -1/+1 | |
| 2023-12-12 | Move some methods from `tcx.hir()` to `tcx` | zetanumbers | -2/+2 | |
| Renamings: - find -> opt_hir_node - get -> hir_node - find_by_def_id -> opt_hir_node_by_def_id - get_by_def_id -> hir_node_by_def_id Fix rebase changes using removed methods Use `tcx.hir_node_by_def_id()` whenever possible in compiler Fix clippy errors Fix compiler Apply suggestions from code review Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> Add FIXME for `tcx.hir()` returned type about its removal Simplify with with `tcx.hir_node_by_def_id` | ||||
| 2023-11-26 | rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` ↵ | Vadim Petrochenkov | -3/+1 | |
| cleanup | ||||
| 2023-10-17 | Automatically enable cross-crate inlining for small functions | Ben Kimock | -50/+8 | |
| 2023-10-13 | Format all the let chains in compiler | Michael Goulet | -1/+3 | |
| 2023-09-10 | Encode only MIR that can be used by other crates | Tomasz Miąsko | -0/+4 | |
| Only reachable items might participate in the code generation in the downstream crates. Omit redundant optimized MIR of unreachable items from a crate metadata. Additionally, include reachable closures in reachable set, so that unreachable closures can be omitted on the same basis. | ||||
| 2023-08-22 | Contents of reachable statics is reachable | Tomasz Miąsko | -7/+3 | |
| 2023-08-09 | rustc: Move `crate_types` from `Session` to `GlobalCtxt` | Vadim Petrochenkov | -4/+4 | |
| Removes a piece of mutable state. Follow up to #114578. | ||||
| 2023-07-28 | Lower generic const items to HIR | León Orell Valerian Liehr | -1/+1 | |
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -1/+1 | |
| 2023-03-08 | Auto merge of #108312 - michaelwoerister:hash-set-not-hash-stable, r=eholk | bors | -4/+4 | |
| Do not implement HashStable for HashSet (MCP 533) This PR removes all occurrences of `HashSet` in query results, replacing it either with `FxIndexSet` or with `UnordSet`, and then removes the `HashStable` implementation of `HashSet`. This is part of implementing [MCP 533](https://github.com/rust-lang/compiler-team/issues/533), that is, removing the `HashStable` implementations of all collection types with unstable iteration order. The changes are mostly mechanical. The only place where additional sorting is happening is in Miri's override implementation of the `exported_symbols` query. | ||||
| 2023-03-02 | rustc_middle: Remove trait `DefIdTree` | Vadim Petrochenkov | -1/+1 | |
| This trait was a way to generalize over both `TyCtxt` and `Resolver`, but now `Resolver` has access to `TyCtxt`, so this trait is no longer necessary. | ||||
| 2023-03-01 | Use LocalDefIdSet instead of FxHashSet for reachable_set query. | Michael Woerister | -4/+4 | |
| 2023-02-14 | Do not fetch HIR for reachable. | Camille GILLOT | -16/+13 | |
| 2023-02-14 | Add `of_trait` to DefKind::Impl. | Camille GILLOT | -1/+1 | |
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -2/+2 | |
| 2022-11-28 | Statics used in reachable function's inline asm are reachable | Tomasz Miąsko | -0/+11 | |
| 2022-10-29 | Improve LanguageItems api | Cameron Steffen | -5/+3 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -10/+10 | |
| spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone. | ||||
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -7/+7 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-09 | ImplItemKind::TyAlias => ImplItemKind::Type | Michael Goulet | -2/+2 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -7/+7 | |
| fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)` | ||||
| 2022-09-14 | change AccessLevels representation | Bryanskiy | -2/+8 | |
| 2022-07-12 | Add an indirection for closures in `hir::ExprKind` | Maybe Waffle | -1/+4 | |
| This helps bring `hir::Expr` size down, `Closure` was the biggest variant, especially after `for<>` additions. | ||||
| 2022-06-18 | Remove a possible unnecessary assignment | Yuki Okushi | -2/+0 | |
| The reference issue has been closed (the feature has been stabilized) and things work fine without fine, it seems. Signed-off-by: Yuki Okushi <jtitor@2k36.org> | ||||
| 2022-06-12 | Make `ExprKind::Closure` a struct variant. | Camille GILLOT | -1/+1 | |
| 2022-06-03 | Encode MIR for 'unreachable' non-generic fns | Michael Goulet | -25/+8 | |
| 2022-05-13 | check def_kind before fetching item | Miguel Guarniz | -21/+27 | |
| Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com> | ||||
