Skip to content

Commit 659e20f

Browse files
committed
Remove LLVMGetModuleContext
This was unused after the removal of `-Zprofile` in rust-lang#131829.
1 parent 552a959 commit 659e20f

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_codegen_llvm/src/llvm

1 file changed

+0
-1
lines changed

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

-1
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,6 @@ unsafe extern "C" {
972972

973973
// Create modules.
974974
pub fn LLVMModuleCreateWithNameInContext(ModuleID: *const c_char, C: &Context) -> &Module;
975-
pub fn LLVMGetModuleContext(M: &Module) -> &Context;
976975
pub fn LLVMCloneModule(M: &Module) -> &Module;
977976

978977
/// Data layout. See Module::getDataLayout.

0 commit comments

Comments
 (0)