aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/aarch64/Select.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen/aarch64/Select.zig')
-rw-r--r--src/codegen/aarch64/Select.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/aarch64/Select.zig b/src/codegen/aarch64/Select.zig
index 13c001a200..b4550b28a5 100644
--- a/src/codegen/aarch64/Select.zig
+++ b/src/codegen/aarch64/Select.zig
@@ -8186,7 +8186,7 @@ fn fail(isel: *Select, comptime format: []const u8, args: anytype) error{ OutOfM
/// dst = src
fn movImmediate(isel: *Select, dst_reg: Register, src_imm: u64) !void {
- const sf = dst_reg.format.integer;
+ const sf = dst_reg.format.general;
if (src_imm == 0) {
const zr: Register = switch (sf) {
.word => .wzr,