]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/abi.rs
fix `emit_inference_failure_err` ICE
[rust.git] / compiler / rustc_codegen_llvm / src / abi.rs
index b9baa87bac7c7fba8bf663a478b9b6c41868895d..cc8b3a1a4e401ca59ebf8e1c427716af1d02c646 100644 (file)
@@ -393,6 +393,7 @@ fn ptr_to_llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type {
     fn llvm_cconv(&self) -> llvm::CallConv {
         match self.conv {
             Conv::C | Conv::Rust | Conv::CCmseNonSecureCall => llvm::CCallConv,
+            Conv::RustCold => llvm::ColdCallConv,
             Conv::AmdGpuKernel => llvm::AmdGpuKernel,
             Conv::AvrInterrupt => llvm::AvrInterrupt,
             Conv::AvrNonBlockingInterrupt => llvm::AvrNonBlockingInterrupt,