ups, left log lines

This commit is contained in:
Jakub Doka 2024-11-07 16:05:16 +01:00
parent be6d0d3f18
commit f535ea7b0a
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -1308,10 +1308,7 @@ impl Nodes {
(Some(b), Some(a)) if a == b => Some(a), (Some(b), Some(a)) if a == b => Some(a),
_ => None, _ => None,
}, },
_ => { _ => None,
std::println!("{:?} {:?}", tn, mn);
None
}
} }
} }
@ -4355,7 +4352,6 @@ impl<'a> Codegen<'a> {
cmped.id = self.offset(cmped.id, flag_offset); cmped.id = self.offset(cmped.id, flag_offset);
cmped.ty = flag_ty; cmped.ty = flag_ty;
debug_assert!(cmped.ptr); debug_assert!(cmped.ptr);
std::println!("{}", self.ty_display(flag_ty));
self.strip_ptr(&mut cmped); self.strip_ptr(&mut cmped);
let inps = [VOID, cmped.id, self.ci.nodes.new_const(flag_ty, 0)]; let inps = [VOID, cmped.id, self.ci.nodes.new_const(flag_ty, 0)];
self.ci.nodes.new_node(ty::Id::BOOL, Kind::BinOp { op }, inps) self.ci.nodes.new_node(ty::Id::BOOL, Kind::BinOp { op }, inps)