Fix panic in when debug assertions are enabled

This commit is contained in:
bjorn3 2020-08-16 20:55:22 +02:00
parent 4757371aba
commit f0069dac00

View file

@ -62,6 +62,7 @@ pub(crate) fn codegen_cpuid_call<'tcx>(
crate::trap::trap_unreachable(fx, "__cpuid_count arch intrinsic doesn't yet support specified leaf");
fx.bcx.switch_to_block(dest);
fx.bcx.ins().nop();
(eax, ebx, ecx, edx)
}