diff options
| author | Gary Guo <gary@garyguo.net> | 2023-12-26 16:07:35 +0000 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2024-02-24 18:50:09 +0000 |
| commit | 8cec9989b2a8b39da211d819f1c05fab94886b34 (patch) | |
| tree | f6e1579b0b28f000f2f6a7006553ee6b77e3f647 /src/inline_asm.rs | |
| parent | 98dcd8505470b328c7177dbaa4fad68352692c2a (diff) | |
Implement asm goto in MIR and MIR lowering
Diffstat (limited to 'src/inline_asm.rs')
| -rw-r--r-- | src/inline_asm.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inline_asm.rs b/src/inline_asm.rs index 7793b1b7092..171ee88a11c 100644 --- a/src/inline_asm.rs +++ b/src/inline_asm.rs @@ -129,6 +129,9 @@ pub(crate) fn codegen_inline_asm_terminator<'tcx>( let instance = Instance::mono(fx.tcx, def_id).polymorphize(fx.tcx); CInlineAsmOperand::Symbol { symbol: fx.tcx.symbol_name(instance).name.to_owned() } } + InlineAsmOperand::Label { .. } => { + span_bug!(span, "asm! label operands are not yet supported"); + } }) .collect::<Vec<_>>(); |
