From 40260bb8a0411dde0184599ddb59799e6185d616 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sat, 14 Jan 2023 19:09:45 -0600 Subject: [PATCH] Remove an unnecessary instruction from stack check code. The intention may have been to set the flags based on the return value, but that is not part of the calling convention and nothing should be relying on it. --- Gen.pas | 1 - 1 file changed, 1 deletion(-) diff --git a/Gen.pas b/Gen.pas index 2a9c094..9b28d7e 100644 --- a/Gen.pas +++ b/Gen.pas @@ -5668,7 +5668,6 @@ procedure GenTree {op: icptr}; GenImplied(m_ply); GenNative(m_sty_dir, direct, stackLoc, nil, 0); end; {if} - GenImplied(m_tay); end {if} else if (saveStack and (op^.q >= 0)) or (op^.q > 0) then begin stackSaveDepth := stackSaveDepth - 1;