git-svn-id: trunk@49186 -
@@ -206,11 +206,11 @@ unit aoptcpu;
var
p: taicpu;
begin
- p:=taicpu(hp);
result:=false;
if not ((assigned(hp)) and (hp.typ=ait_instruction)) then
exit;
+ p:=taicpu(hp);
case p.opcode of
{ These instructions do not write into a register at all }
A_NOP,
@@ -107,11 +107,11 @@ unit aoptcpu;
@@ -143,11 +143,13 @@ Implementation
- 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
+ p := taicpu(hp);
+ if not (p.ops >0) then
+ exit;
A_B,
A_SSI,A_SSIU,A_SSX,A_SSXU,