Rustup to rustc 1.40.0-nightly (787005079
2019-10-04)
This commit is contained in:
parent
8bb81fdc3b
commit
b5d29a8c58
2 changed files with 6 additions and 20 deletions
|
@ -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}")]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue