removing log line

This commit is contained in:
Jakub Doka 2024-11-07 16:42:57 +01:00
parent 9d2f419140
commit 513d2c7127
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143
2 changed files with 7 additions and 3 deletions

View file

@ -628,9 +628,14 @@ main := fn(): uint {
```hb
Structure := struct {}
BigStructure := struct {a: uint, b: uint}
returner_fn := fn(): ?Structure {
structure := Structure.()
return structure
return .()
}
returner_bn := fn(): ?BigStructure {
return .(0, 0)
}
main := fn(): int {

View file

@ -4267,7 +4267,6 @@ impl<'a> Codegen<'a> {
match oty.loc(self.tys) {
Loc::Reg => {
std::println!("{} {} {}", self.ty_display(oty), flag_offset, self.tys.size_of(oty));
self.strip_ptr(val);
// registers have inverted offsets so that accessing the inner type is a noop
let flag_offset = self.tys.size_of(oty) * 8 - flag_offset * 8 - 1;