stage2: handle direct and got load for stack args

This commit is contained in:
Jakub Konka 2022-02-08 23:48:42 +01:00
parent e42b5e76ba
commit f1d2141849

View File

@ -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);