diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-18 08:41:28 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-18 08:41:28 +0100 |
| commit | 22b0e3c0d4b59cadf83031ff91e4c08fa95ed2ce (patch) | |
| tree | 9bc69ba98886686cf323f3965a6e1973a399836c | |
| parent | 1a27566d20a77e4a8ea83b17648690412eb0f640 (diff) | |
| download | rust-22b0e3c0d4b59cadf83031ff91e4c08fa95ed2ce.tar.gz rust-22b0e3c0d4b59cadf83031ff91e4c08fa95ed2ce.zip | |
remove pointless cold_path impl in interpreter
| -rw-r--r-- | src/intrinsics/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intrinsics/mod.rs b/src/intrinsics/mod.rs index b92885cc1a7..6cf1cff183d 100644 --- a/src/intrinsics/mod.rs +++ b/src/intrinsics/mod.rs @@ -1264,6 +1264,7 @@ fn codegen_regular_intrinsic_call<'tcx>( sym::cold_path => { // This is a no-op. The intrinsic is just a hint to the optimizer. + // We still have an impl here to avoid it being turned into a call. } // Unimplemented intrinsics must have a fallback body. The fallback body is obtained |
