We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb51cfe commit 1c372caCopy full SHA for 1c372ca
src/intrinsics/mod.rs
@@ -1270,8 +1270,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
1270
}
1271
1272
sym::cold_path => {
1273
- // This is a no-op. The intrinsic is just a hint to the optimizer.
1274
- // We still have an impl here to avoid it being turned into a call.
+ fx.bcx.set_cold_block(fx.bcx.current_block().unwrap());
1275
1276
1277
// Unimplemented intrinsics must have a fallback body. The fallback body is obtained
0 commit comments