| ... | ... | @@ -630,8 +630,8 @@ fn gen(self: *Self) InnerError!void { |
| 630 | 630 | // TODO During semantic analysis, check if there are no function calls. If there |
| 631 | 631 | // are none, here we can omit the part where we subtract and then add rsp. |
| 632 | 632 | const backpatch_stack_sub = try self.addInst(.{ |
| 633 | | .tag = .nop, |
| 634 | | .ops = .none, |
| 633 | .tag = .dead, |
| 634 | .ops = undefined, |
| 635 | 635 | .data = undefined, |
| 636 | 636 | }); |
| 637 | 637 | |
| ... | ... | @@ -657,8 +657,8 @@ fn gen(self: *Self) InnerError!void { |
| 657 | 657 | |
| 658 | 658 | // Push callee-preserved regs that were used actually in use. |
| 659 | 659 | const backpatch_push_callee_preserved_regs = try self.addInst(.{ |
| 660 | | .tag = .nop, |
| 661 | | .ops = .none, |
| 660 | .tag = .dead, |
| 661 | .ops = undefined, |
| 662 | 662 | .data = undefined, |
| 663 | 663 | }); |
| 664 | 664 | |
| ... | ... | @@ -688,8 +688,8 @@ fn gen(self: *Self) InnerError!void { |
| 688 | 688 | |
| 689 | 689 | // Pop saved callee-preserved regs. |
| 690 | 690 | const backpatch_pop_callee_preserved_regs = try self.addInst(.{ |
| 691 | | .tag = .nop, |
| 692 | | .ops = .none, |
| 691 | .tag = .dead, |
| 692 | .ops = undefined, |
| 693 | 693 | .data = undefined, |
| 694 | 694 | }); |
| 695 | 695 | |
| ... | ... | @@ -701,8 +701,8 @@ fn gen(self: *Self) InnerError!void { |
| 701 | 701 | |
| 702 | 702 | // Maybe add rsp, x if required. This is backpatched later. |
| 703 | 703 | const backpatch_stack_add = try self.addInst(.{ |
| 704 | | .tag = .nop, |
| 705 | | .ops = .none, |
| 704 | .tag = .dead, |
| 705 | .ops = undefined, |
| 706 | 706 | .data = undefined, |
| 707 | 707 | }); |
| 708 | 708 | |