We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f296311 commit df7f020Copy full SHA for df7f020
src/inline_asm.rs
@@ -18,10 +18,7 @@ pub(crate) fn codegen_inline_asm<'tcx>(
18
) {
19
// FIXME add .eh_frame unwind info directives
20
21
- if template.is_empty() {
22
- // Black box
23
- return;
24
- } else if template[0] == InlineAsmTemplatePiece::String("int $$0x29".to_string()) {
+ if template[0] == InlineAsmTemplatePiece::String("int $$0x29".to_string()) {
25
let true_ = fx.bcx.ins().iconst(types::I32, 1);
26
fx.bcx.ins().trapnz(true_, TrapCode::User(1));
27
return;
0 commit comments