about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <eddyb@lyken.rs>2021-05-06 17:37:19 +0300
committerEduard-Mihai Burtescu <eddyb@lyken.rs>2021-05-17 00:04:09 +0300
commit402e9efc56fb21464a0cddf9aeab57c7512cf71d (patch)
tree3a5b0eb4df206123dcfdbd1564cda65a2cda014d /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 (diff)
downloadrust-402e9efc56fb21464a0cddf9aeab57c7512cf71d.tar.gz
rust-402e9efc56fb21464a0cddf9aeab57c7512cf71d.zip
rustc_codegen_ssa: only create backend `BasicBlock`s as-needed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 32fdde9b42e..bf66040a7eb 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1079,7 +1079,6 @@ extern "C" {
         Fn: &'a Value,
         Name: *const c_char,
     ) -> &'a BasicBlock;
-    pub fn LLVMDeleteBasicBlock(BB: &BasicBlock);
 
     // Operations on instructions
     pub fn LLVMIsAInstruction(Val: &Value) -> Option<&Value>;