Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f0069da

Browse files
committed
Fix panic in when debug assertions are enabled
1 parent 4757371 commit f0069da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/intrinsics/cpuid.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ pub(crate) fn codegen_cpuid_call<'tcx>(
6262
crate::trap::trap_unreachable(fx, "__cpuid_count arch intrinsic doesn't yet support specified leaf");
6363

6464
fx.bcx.switch_to_block(dest);
65+
fx.bcx.ins().nop();
6566

6667
(eax, ebx, ecx, edx)
6768
}

0 commit comments

Comments
 (0)