stage2 aarch64: add basic function pro/epilogue

Fix typo in `nop` implementation.
Simplify `aarch64` macOS tests.
This commit is contained in:
Jakub Konka
2021-01-17 11:26:02 +01:00
parent e292f33de7
commit b25cf7db02
3 changed files with 88 additions and 81 deletions

View File

@@ -814,7 +814,7 @@ pub const Instruction = union(enum) {
// Nop
pub fn nop() Instruction {
return Instruction{ .NoOperation = {} };
return Instruction{ .NoOperation = .{} };
}
// Logical (shifted register)