| ... | @@ -951,7 +951,7 @@ const StackIterator = union(enum) { | ... | @@ -951,7 +951,7 @@ const StackIterator = union(enum) { |
| 951 | | 951 | |
| 952 | /// Offset of the saved return address wrt the frame pointer. | 952 | /// Offset of the saved return address wrt the frame pointer. |
| 953 | const ra_offset = off: { | 953 | const ra_offset = off: { |
| 954 | if (native_arch == .powerpc64le) break :off 2 * @sizeOf(usize); | 954 | if (native_arch.isPowerPC64()) break :off 2 * @sizeOf(usize); |
| 955 | // On s390x, r14 is the link register and we need to grab it from its customary slot in the | 955 | // On s390x, r14 is the link register and we need to grab it from its customary slot in the |
| 956 | // register save area (ELF ABI s390x Supplement §1.2.2.2). | 956 | // register save area (ELF ABI s390x Supplement §1.2.2.2). |
| 957 | if (native_arch == .s390x) break :off 14 * @sizeOf(usize); | 957 | if (native_arch == .s390x) break :off 14 * @sizeOf(usize); |