diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-01-30 20:55:56 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2024-01-30 22:09:09 +0000 |
| commit | 73313158988c20b57a341502b4099629b6867755 (patch) | |
| tree | 1b7875fed65da46ca2733b181c52afaade45c9af /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 5ad7454f7503b6af2800bf4a7c875962cb03f913 (diff) | |
| download | rust-73313158988c20b57a341502b4099629b6867755.tar.gz rust-73313158988c20b57a341502b4099629b6867755.zip | |
Remove `ffi_returns_twice` feature
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/attributes.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/attributes.rs b/compiler/rustc_codegen_llvm/src/attributes.rs index 0a7ea599431..07c83f1aa08 100644 --- a/compiler/rustc_codegen_llvm/src/attributes.rs +++ b/compiler/rustc_codegen_llvm/src/attributes.rs @@ -356,9 +356,6 @@ pub fn from_fn_attrs<'ll, 'tcx>( if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) { to_add.push(AttributeKind::Cold.create_attr(cx.llcx)); } - if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_RETURNS_TWICE) { - to_add.push(AttributeKind::ReturnsTwice.create_attr(cx.llcx)); - } if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_PURE) { to_add.push(MemoryEffects::ReadOnly.create_attr(cx.llcx)); } |
