about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 17:01:31 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-10-01 17:01:31 +0000
commit62cf644c64b6e9e2f18c6d846a25a5c98c252430 (patch)
treedeec00224d042276a361d3f0957a363bd9e22071 /compiler/rustc_codegen_llvm/src/asm.rs
parenta3cc67c79636e5deab118171b5ba672c3d0a99e1 (diff)
downloadrust-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_llvm/src/asm.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/asm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/asm.rs b/compiler/rustc_codegen_llvm/src/asm.rs
index 5202ac697e9..e723187ff1f 100644
--- a/compiler/rustc_codegen_llvm/src/asm.rs
+++ b/compiler/rustc_codegen_llvm/src/asm.rs
@@ -430,9 +430,9 @@ pub(crate) fn inline_asm_call<'ll>(
             );
 
             let call = if let Some((dest, catch, funclet)) = dest_catch_funclet {
-                bx.invoke(fty, v, inputs, dest, catch, funclet)
+                bx.invoke(fty, None, v, inputs, dest, catch, funclet)
             } else {
-                bx.call(fty, v, inputs, None)
+                bx.call(fty, None, v, inputs, None)
             };
 
             // Store mark in a metadata node so we can map LLVM errors