| ... | @@ -350,7 +350,7 @@ const Alpha = extern struct { | ... | @@ -350,7 +350,7 @@ const Alpha = extern struct { |
| 350 | \\1: | 350 | \\1: |
| 351 | \\ stq $1, 0x100($0) | 351 | \\ stq $1, 0x100($0) |
| 352 | : | 352 | : |
| 353 | : [ctx] "{r0}" (&ctx), | 353 | : [ctx] "{$0}" (&ctx), |
| 354 | : .{ .r1 = true, .memory = true }); | 354 | : .{ .r1 = true, .memory = true }); |
| 355 | return ctx; | 355 | return ctx; |
| 356 | } | 356 | } |
| ... | @@ -362,7 +362,7 @@ const Alpha = extern struct { | ... | @@ -362,7 +362,7 @@ const Alpha = extern struct { |
| 362 | return ctx.pc; | 362 | return ctx.pc; |
| 363 | } | 363 | } |
| 364 | | 364 | |
| 365 | pub fn dwarfRegisterBytes(ctx: *Aarch64, register_num: u16) DwarfRegisterError![]u8 { | 365 | pub fn dwarfRegisterBytes(ctx: *Alpha, register_num: u16) DwarfRegisterError![]u8 { |
| 366 | switch (register_num) { | 366 | switch (register_num) { |
| 367 | 0...31 => return @ptrCast(&ctx.r[register_num]), | 367 | 0...31 => return @ptrCast(&ctx.r[register_num]), |
| 368 | 64 => return @ptrCast(&ctx.pc), | 368 | 64 => return @ptrCast(&ctx.pc), |