Fix aarch64

This commit is contained in:
Rocknest 2020-01-30 01:17:34 +02:00
parent c0c9c601d4
commit b1884b3a62

View File

@ -1101,7 +1101,7 @@ pub usingnamespace switch (builtin.arch) {
Wvr: [2]DWORD64,
pub fn getRegs(ctx: *const CONTEXT) struct {bp: usize, ip: usize} {
return .{.bp = @intCast(usize, ctx.Fp), .ip = @intCast(usize, ctx.Pc)};
return .{.bp = @intCast(usize, ctx.DUMMYUNIONNAME.DUMMYSTRUCTNAME.Fp), .ip = @intCast(usize, ctx.Pc)};
}
};