remove pointless cold_path impl in interpreter
This commit is contained in:
parent
1a27566d20
commit
22b0e3c0d4
1 changed files with 1 additions and 0 deletions
|
@ -1264,6 +1264,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
|
||||||
|
|
||||||
sym::cold_path => {
|
sym::cold_path => {
|
||||||
// This is a no-op. The intrinsic is just a hint to the optimizer.
|
// 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
|
// Unimplemented intrinsics must have a fallback body. The fallback body is obtained
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue