diff options
| author | Josh Stone <jistone@redhat.com> | 2021-01-13 11:55:49 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-01-13 11:55:49 -0800 |
| commit | 0342fd16ffb146c849f1bb40d42ba1bb7a940b62 (patch) | |
| tree | 0f94f0737e59183d0698141e0d4e2aff99978223 /compiler/rustc_llvm/llvm-wrapper | |
| parent | fd2df74902fa98bcb71f85fd548c3eb399e6a96a (diff) | |
| download | rust-0342fd16ffb146c849f1bb40d42ba1bb7a940b62.tar.gz rust-0342fd16ffb146c849f1bb40d42ba1bb7a940b62.zip | |
Remove the unused context from CreateDebugLocation
This went unused in commit 88d874de6395, part of #68965.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index c0ff62c17be..1d6f00562f1 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -994,11 +994,9 @@ LLVMRustDICompositeTypeReplaceArrays(LLVMRustDIBuilderRef Builder, } extern "C" LLVMMetadataRef -LLVMRustDIBuilderCreateDebugLocation(LLVMContextRef ContextRef, unsigned Line, - unsigned Column, LLVMMetadataRef Scope, +LLVMRustDIBuilderCreateDebugLocation(unsigned Line, unsigned Column, + LLVMMetadataRef Scope, LLVMMetadataRef InlinedAt) { - LLVMContext &Context = *unwrap(ContextRef); - DebugLoc debug_loc = DebugLoc::get(Line, Column, unwrapDIPtr<MDNode>(Scope), unwrapDIPtr<MDNode>(InlinedAt)); |
