1
Fork 0

Rustup to rustc 1.40.0-nightly (787005079 2019-10-04)

This commit is contained in:
bjorn3 2019-10-06 10:41:15 +02:00
parent 8bb81fdc3b
commit b5d29a8c58
2 changed files with 6 additions and 20 deletions

View file

@ -536,6 +536,12 @@ fn trans_stmt<'tcx>(
asm_str_style: _,
} = asm;
match &*asm_code.as_str() {
"" => {
assert_eq!(inputs, &[Name::intern("r")]);
assert!(outputs.is_empty(), "{:?}", outputs);
// Black box
}
"cpuid" | "cpuid\n" => {
assert_eq!(inputs, &[Name::intern("{eax}"), Name::intern("{ecx}")]);