Skip to content

Commit c25f12a

Browse files
Revert "Auto merge of rust-lang#135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"
This reverts commit a7a6c64, reversing changes made to ebbe638.
1 parent 24b202f commit c25f12a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/common.rs

-5
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ impl<'gcc, 'tcx> ConstCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
6464
if type_is_pointer(typ) { self.context.new_null(typ) } else { self.const_int(typ, 0) }
6565
}
6666

67-
fn is_undef(&self, _val: RValue<'gcc>) -> bool {
68-
// FIXME: actually check for undef
69-
false
70-
}
71-
7267
fn const_undef(&self, typ: Type<'gcc>) -> RValue<'gcc> {
7368
let local = self.current_func.borrow().expect("func").new_local(None, typ, "undefined");
7469
if typ.is_struct().is_some() {

0 commit comments

Comments
 (0)