1
Fork 0

Implement asm goto in MIR and MIR lowering

This commit is contained in:
Gary Guo 2023-12-26 16:07:35 +00:00
parent b044aaa905
commit 3b1dd1bfa9
13 changed files with 53 additions and 17 deletions

View file

@ -1119,6 +1119,9 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
mir::InlineAsmOperand::SymStatic { def_id } => {
InlineAsmOperandRef::SymStatic { def_id }
}
mir::InlineAsmOperand::Label { target_index: _ } => {
todo!();
}
})
.collect();