Refactor code to avoid problems with -CR option

git-svn-id: trunk@49155 -
This commit is contained in:
pierre 2021-04-09 23:11:53 +00:00
parent 09628e56cb
commit 9f8566dd84

View File

@ -52,9 +52,12 @@ Implementation
var
p: taicpu;
begin
p := taicpu(hp);
Result := false;
if not(assigned(hp) and (hp.typ = ait_instruction) and (p.ops > 0)) then
if not(assigned(hp) and (hp.typ = ait_instruction)) then
exit;
p := taicpu(hp);
if not(p.ops > 0) then
exit;
case p.opcode of