forked from AbleOS/holey-bytes
removing log line
This commit is contained in:
parent
9d2f419140
commit
513d2c7127
|
@ -628,9 +628,14 @@ main := fn(): uint {
|
||||||
```hb
|
```hb
|
||||||
Structure := struct {}
|
Structure := struct {}
|
||||||
|
|
||||||
|
BigStructure := struct {a: uint, b: uint}
|
||||||
|
|
||||||
returner_fn := fn(): ?Structure {
|
returner_fn := fn(): ?Structure {
|
||||||
structure := Structure.()
|
return .()
|
||||||
return structure
|
}
|
||||||
|
|
||||||
|
returner_bn := fn(): ?BigStructure {
|
||||||
|
return .(0, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
main := fn(): int {
|
main := fn(): int {
|
||||||
|
|
|
@ -4267,7 +4267,6 @@ impl<'a> Codegen<'a> {
|
||||||
|
|
||||||
match oty.loc(self.tys) {
|
match oty.loc(self.tys) {
|
||||||
Loc::Reg => {
|
Loc::Reg => {
|
||||||
std::println!("{} {} {}", self.ty_display(oty), flag_offset, self.tys.size_of(oty));
|
|
||||||
self.strip_ptr(val);
|
self.strip_ptr(val);
|
||||||
// registers have inverted offsets so that accessing the inner type is a noop
|
// 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;
|
let flag_offset = self.tys.size_of(oty) * 8 - flag_offset * 8 - 1;
|
||||||
|
|
Loading…
Reference in a new issue