mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.debug: the SPARC stack bias is only used on the 64-bit ABI
This commit is contained in:
parent
ebc0b90eb7
commit
78bc5d46e0
@ -996,7 +996,7 @@ const StackIterator = union(enum) {
|
||||
/// Value to add to the stack pointer and frame/base pointers to get the real location being
|
||||
/// pointed to. Yes, SPARC really does this.
|
||||
const stack_bias = bias: {
|
||||
if (native_arch.isSPARC()) break :bias 2047;
|
||||
if (native_arch == .sparc64) break :bias 2047;
|
||||
break :bias 0;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user