about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorMakai <m4kai410@gmail.com>2025-05-05 15:25:54 +0800
committerMakai <m4kai410@gmail.com>2025-07-04 01:33:17 +0000
commit3b328e111a8b4fc67e7c4e7b39f45b89231d1487 (patch)
tree84e39d62a7b7327f3bd256418aafed2476a638af /tests/codegen/patchable-function-entry
parent96ad3882324199305495ce03f6c94fa3bfebf34c (diff)
downloadrust-3b328e111a8b4fc67e7c4e7b39f45b89231d1487.tar.gz
rust-3b328e111a8b4fc67e7c4e7b39f45b89231d1487.zip
refactor: split `rustc_smir::alloc` into two parts
The previous `rustc_smir::alloc` had many direct calls to rustc queries.

This commit splits it into two parts: `rustc_smir::alloc` and `stable_mir::alloc`.

Following the same pattern as `SmirCtxt` and `SmirInterface`, the `rustc_smir::alloc` handles all direct interactions with rustc queries and performs the actual memory allocations, while the `stable_mir::alloc` is responsible for constructing stable components.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions