Remove dead broken code from const zst handling in backends
This commit is contained in:
parent
a594044533
commit
9c4fb018ca
4 changed files with 1 additions and 17 deletions
|
@ -226,10 +226,6 @@ impl<'ll, 'tcx> ConstMethods<'tcx> for CodegenCx<'ll, 'tcx> {
|
|||
})
|
||||
}
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue