diff options
| author | Josh Stone <jistone@redhat.com> | 2025-02-27 09:09:52 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-02-27 09:09:52 -0800 |
| commit | 396c2a8659b0b99254a25b7c0431a99d8223fb5c (patch) | |
| tree | 00c8f762a52c7644515de5b412ed9b61ae70dd07 /tests/rustdoc-js-std/parser-quote.js | |
| parent | 96cfc75584359ae7ad11cc45968059f29e7b44b7 (diff) | |
| download | rust-396c2a8659b0b99254a25b7c0431a99d8223fb5c.tar.gz rust-396c2a8659b0b99254a25b7c0431a99d8223fb5c.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/rustdoc-js-std/parser-quote.js')
0 files changed, 0 insertions, 0 deletions
