diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-10-01 17:01:31 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-10-01 17:01:31 +0000 |
| commit | 62cf644c64b6e9e2f18c6d846a25a5c98c252430 (patch) | |
| tree | deec00224d042276a361d3f0957a363bd9e22071 /compiler/rustc_codegen_gcc/src/asm.rs | |
| parent | a3cc67c79636e5deab118171b5ba672c3d0a99e1 (diff) | |
| download | rust-62cf644c64b6e9e2f18c6d846a25a5c98c252430.tar.gz rust-62cf644c64b6e9e2f18c6d846a25a5c98c252430.zip | |
Merge apply_attrs_callsite into call and invoke
Some codegen backends are not able to apply callsite attrs after the fact.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/asm.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/asm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/asm.rs b/compiler/rustc_codegen_gcc/src/asm.rs index 007b001f213..c346dbd63cc 100644 --- a/compiler/rustc_codegen_gcc/src/asm.rs +++ b/compiler/rustc_codegen_gcc/src/asm.rs @@ -498,7 +498,7 @@ impl<'a, 'gcc, 'tcx> AsmBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tcx> { if options.contains(InlineAsmOptions::NORETURN) { let builtin_unreachable = self.context.get_builtin_function("__builtin_unreachable"); let builtin_unreachable: RValue<'gcc> = unsafe { std::mem::transmute(builtin_unreachable) }; - self.call(self.type_void(), builtin_unreachable, &[], None); + self.call(self.type_void(), None, builtin_unreachable, &[], None); } // Write results to outputs. |
