about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorErik Desjardins <erikdesjardins@users.noreply.github.com>2024-02-24 01:46:30 -0500
committerErik Desjardins <erikdesjardins@users.noreply.github.com>2024-02-26 22:28:09 -0500
commitbeed25be9a2a9e1e73ca79210da57d294c27f925 (patch)
tree56d079f6ccbee51034f8e5e0ce5d08e04f9c9667 /compiler/rustc_codegen_llvm/src/llvm
parent123015e7224fda0e9600962aa23202ac322271bc (diff)
downloadrust-beed25be9a2a9e1e73ca79210da57d294c27f925.tar.gz
rust-beed25be9a2a9e1e73ca79210da57d294c27f925.zip
remove struct_gep, use manual layout calculations for va_arg
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 70fc7a66bcd..4472cc2264b 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1301,13 +1301,6 @@ extern "C" {
         NumIndices: c_uint,
         Name: *const c_char,
     ) -> &'a Value;
-    pub fn LLVMBuildStructGEP2<'a>(
-        B: &Builder<'a>,
-        Ty: &'a Type,
-        Pointer: &'a Value,
-        Idx: c_uint,
-        Name: *const c_char,
-    ) -> &'a Value;
 
     // Casts
     pub fn LLVMBuildTrunc<'a>(