mirror of
https://github.com/ziglang/zig.git
synced 2025-12-31 18:43:18 +00:00
stage2 macho: revert required alignment always at 4
This commit is contained in:
parent
e8dd62accd
commit
be0d5571d2
@ -956,8 +956,7 @@ pub fn updateDecl(self: *MachO, module: *Module, decl: *Module.Decl) !void {
|
||||
},
|
||||
};
|
||||
|
||||
// const required_alignment = typed_value.ty.abiAlignment(self.base.options.target);
|
||||
const required_alignment = 4;
|
||||
const required_alignment = typed_value.ty.abiAlignment(self.base.options.target);
|
||||
assert(decl.link.macho.local_sym_index != 0); // Caller forgot to call allocateDeclIndexes()
|
||||
const symbol = &self.local_symbols.items[decl.link.macho.local_sym_index];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user