mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-30 14:31:04 +00:00
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.
This commit is contained in:
parent
03fc7a43b9
commit
40260bb8a0
1
Gen.pas
1
Gen.pas
@ -5668,7 +5668,6 @@ procedure GenTree {op: icptr};
|
|||||||
GenImplied(m_ply);
|
GenImplied(m_ply);
|
||||||
GenNative(m_sty_dir, direct, stackLoc, nil, 0);
|
GenNative(m_sty_dir, direct, stackLoc, nil, 0);
|
||||||
end; {if}
|
end; {if}
|
||||||
GenImplied(m_tay);
|
|
||||||
end {if}
|
end {if}
|
||||||
else if (saveStack and (op^.q >= 0)) or (op^.q > 0) then begin
|
else if (saveStack and (op^.q >= 0)) or (op^.q > 0) then begin
|
||||||
stackSaveDepth := stackSaveDepth - 1;
|
stackSaveDepth := stackSaveDepth - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user