diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-07-09 09:31:58 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-07-14 08:27:08 +0000 |
| commit | b9baf63f99bbdf69571e26fca907af032c416591 (patch) | |
| tree | 3e9136f786c3c2baa234a28a3ceada13e1b9a8ec /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | e574fef728605089da8144960348469896751c3c (diff) | |
| download | rust-b9baf63f99bbdf69571e26fca907af032c416591.tar.gz rust-b9baf63f99bbdf69571e26fca907af032c416591.zip | |
Merge `typeid_metadata` and `create_metadata`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs index 7304460c493..4c5bc8430cc 100644 --- a/compiler/rustc_codegen_llvm/src/builder.rs +++ b/compiler/rustc_codegen_llvm/src/builder.rs @@ -1720,7 +1720,7 @@ impl<'a, 'll, 'tcx> Builder<'a, 'll, 'tcx> { } else { cfi::typeid_for_fnabi(self.tcx, fn_abi, options) }; - let typeid_metadata = self.cx.typeid_metadata(typeid).unwrap(); + let typeid_metadata = self.cx.create_metadata(typeid); let dbg_loc = self.get_dbg_loc(); // Test whether the function pointer is associated with the type identifier using the |
