mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
stage2: handle direct and got load for stack args
This commit is contained in:
parent
e42b5e76ba
commit
f1d2141849
@ -3482,6 +3482,8 @@ fn genSetStackArg(self: *Self, ty: Type, stack_offset: i32, mcv: MCValue) InnerE
|
||||
},
|
||||
.memory,
|
||||
.embedded_in_code,
|
||||
.direct_load,
|
||||
.got_load,
|
||||
=> {
|
||||
if (abi_size <= 8) {
|
||||
const reg = try self.copyToTmpRegister(ty, mcv);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user