stage2: codegen: refactor to always have comptime arch

This commit is contained in:
Andrew Kelley 2020-07-17 09:33:56 -07:00
parent 596ca6cf70
commit ef9aeb6ac4
2 changed files with 1116 additions and 1109 deletions

File diff suppressed because it is too large Load Diff

View File

@ -67,4 +67,7 @@ pub const Register = enum(u8) {
}
};
// zig fmt: on
// zig fmt: on
/// These registers belong to the called function.
pub const callee_preserved = [_]Register{ rax, rcx, rdx, rsi, rdi, r8, r9, r10, r11 };