about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-02-27 09:09:52 -0800
committerJosh Stone <jistone@redhat.com>2025-02-27 09:09:52 -0800
commit7721431d57f7c8eea818d39d7a284459bb15f6e3 (patch)
tree2aec42df6e392d45b8a45e93b3d26fefce26cc02 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
parentb627900585c4d52ba7490bca0b2d1e580b40f815 (diff)
downloadrust-7721431d57f7c8eea818d39d7a284459bb15f6e3.tar.gz
rust-7721431d57f7c8eea818d39d7a284459bb15f6e3.zip
Stop using `hash_raw_entry` in `CodegenCx::const_str`
That unstable feature completed fcp-close, so the compiler needs to be
migrated away to allow its removal. In this case, `cg_llvm` and `cg_gcc`
were using raw entries to optimize their `const_str_cache` lookup and
insertion. We can change that to separate `get` and (on miss) `insert`
calls, so we still have the fast path avoiding string allocation when
the cache hits.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions