about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2023-12-26 16:07:35 +0000
committerGary Guo <gary@garyguo.net>2024-02-24 18:50:09 +0000
commit3b1dd1bfa97aa9775109266f9932027a99362b0d (patch)
treee1c90d06fe520d5916149e2011b1792fac280321 /compiler/rustc_codegen_ssa
parentb044aaa905f8a97e67ea72b490ee46d6420c4680 (diff)
downloadrust-3b1dd1bfa97aa9775109266f9932027a99362b0d.tar.gz
rust-3b1dd1bfa97aa9775109266f9932027a99362b0d.zip
Implement asm goto in MIR and MIR lowering
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/block.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs
index 6342802bb19..c9a1e7789c2 100644
--- a/compiler/rustc_codegen_ssa/src/mir/block.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/block.rs
@@ -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();