mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
riscv64: fix incorrect branch target
This commit is contained in:
parent
9473d76449
commit
624016e8f3
@ -6594,7 +6594,7 @@ fn genInlineMemset(
|
||||
.tag = .beq,
|
||||
.data = .{
|
||||
.b_type = .{
|
||||
.inst = @intCast(func.mir_instructions.len + 4), // points after the last inst
|
||||
.inst = @intCast(func.mir_instructions.len + 3), // points after the last inst
|
||||
.rs1 = count,
|
||||
.rs2 = .zero,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user