1
Fork 0

remove pointless cold_path impl in interpreter

This commit is contained in:
Ralf Jung 2024-11-18 08:41:28 +01:00
parent 3fb7e441ae
commit dff98a8a14
2 changed files with 1 additions and 3 deletions

View file

@ -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