| author | |
| committer | |
| log | 97c43afefe2938119b0c4d14032f9e4b41926716 |
| tree | 37cb74c849e56ca8baaff2591fa8a1ade3a83831 |
| parent | 2dfe307d6003f36279742621b8da29a162a7149e |
1 files changed, 5 insertions(+), 0 deletions(-)
src/arch/sparc64/CodeGen.zig+5| ... | ... | @@ -1047,6 +1047,11 @@ fn airCall(self: *Self, inst: Air.Inst.Index, modifier: std.builtin.CallOptions. |
| 1047 | 1047 | |
| 1048 | 1048 | var info = try self.resolveCallingConventionValues(fn_ty, .caller); |
| 1049 | 1049 | defer info.deinit(self); |
| 1050 | ||
| 1051 | // CCR is volatile across function calls | |
| 1052 | // (SCD 2.4.1, page 3P-10) | |
| 1053 | try self.spillCompareFlagsIfOccupied(); | |
| 1054 | ||
| 1050 | 1055 | for (info.args) |mc_arg, arg_i| { |
| 1051 | 1056 | const arg = args[arg_i]; |
| 1052 | 1057 | const arg_ty = self.air.typeOf(arg); |