]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/common.rs
Rollup merge of #101503 - spastorino:add-debug-calls, r=compiler-errors
[rust.git] / compiler / rustc_codegen_llvm / src / common.rs
index 13e437cfbf7fb1b52d06589eb20c068ad140a131..488ea72c3b77991a7146f71ea24aac66cc981653 100644 (file)
@@ -226,10 +226,6 @@ fn const_to_opt_u128(&self, v: &'ll Value, sign_ext: bool) -> Option<u128> {
         })
     }
 
-    fn zst_to_backend(&self, _llty: &'ll Type) -> &'ll Value {
-        self.const_undef(self.type_ix(0))
-    }
-
     fn scalar_to_backend(&self, cv: Scalar, layout: abi::Scalar, llty: &'ll Type) -> &'ll Value {
         let bitsize = if layout.is_bool() { 1 } else { layout.size(self).bits() };
         match cv {