mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
Update src/arch/x86_64/CodeGen.zig
Co-authored-by: Jacob Young <jacobly0@users.noreply.github.com>
This commit is contained in:
parent
624016e8f3
commit
73f385eec5
@ -1382,7 +1382,10 @@ fn asmImmediate(self: *Self, tag: Mir.Inst.FixedTag, imm: Immediate) !void {
|
||||
.reloc => .rel,
|
||||
},
|
||||
.data = switch (imm) {
|
||||
.reloc => |x| .{ .reloc = x },
|
||||
.reloc => |x| reloc: {
|
||||
assert(tag[0] == ._);
|
||||
break :reloc .{ .reloc = x };
|
||||
},
|
||||
.signed, .unsigned => .{ .i = .{
|
||||
.fixes = tag[0],
|
||||
.i = switch (imm) {
|
||||
|
Loading…
Reference in New Issue
Block a user