Revert "Auto merge of #135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"

This reverts commit a7a6c64a65, reversing
changes made to ebbe63891f.
This commit is contained in:
Michael Goulet 2025-03-02 18:41:28 +00:00
parent 8c392966a0
commit a59a8f9e75
8 changed files with 28 additions and 125 deletions

View file

@ -64,11 +64,6 @@ impl<'gcc, 'tcx> ConstCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
if type_is_pointer(typ) { self.context.new_null(typ) } else { self.const_int(typ, 0) }
}
fn is_undef(&self, _val: RValue<'gcc>) -> bool {
// FIXME: actually check for undef
false
}
fn const_undef(&self, typ: Type<'gcc>) -> RValue<'gcc> {
let local = self.current_func.borrow().expect("func").new_local(None, typ, "undefined");
if typ.is_struct().is_some() {