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

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • compiler/rustc_codegen_llvm/src/llvm

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

Lines changed: 0 additions & 1 deletion
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)