authorgravatar for joachim.schmidt557@outlook.comJoachim Schmidt <joachim.schmidt557@outlook.com> 2021-04-17 19:42:54+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-17 20:57:26-04:00
logfbda9991f48a6cd3a008890634ba4482f946a6f4
treebd99d88e2926734aaf1b92d84bccc2f02880400b
parent4081e0a475670cf3c0301c795c67e1bc692024e1

stage2 codegen: Fix silent bug in reuseOperand


1 files changed, 0 insertions(+), 1 deletions(-)

src/codegen.zig-1
...@@ -1247,7 +1247,6 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {...@@ -1247,7 +1247,6 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
1247 },1247 },
1248 .stack_offset => |off| {1248 .stack_offset => |off| {
1249 log.debug("reusing stack offset {} => {*}", .{ off, inst });1249 log.debug("reusing stack offset {} => {*}", .{ off, inst });
1250 return true;
1251 },1250 },
1252 else => return false,1251 else => return false,
1253 }1252 }