Browse Source

* added comment, stating that Z80 has no condition subsets

git-svn-id: trunk@45172 -
nickysn 5 years ago
parent
commit
f8c2d4a632
1 changed files with 1 additions and 3 deletions
  1. 1 3
      compiler/z80/cpubase.pas

+ 1 - 3
compiler/z80/cpubase.pas

@@ -470,10 +470,8 @@ unit cpubase;
     { Checks if Subset is a subset of c (e.g. "less than" is a subset of "less than or equal" }
     { Checks if Subset is a subset of c (e.g. "less than" is a subset of "less than or equal" }
     function condition_in(const Subset, c: TAsmCond): Boolean;
     function condition_in(const Subset, c: TAsmCond): Boolean;
       begin
       begin
+        { Z80 has no condition subsets }
         Result := {(c.cond = C_None) or} conditions_equal(Subset, c);
         Result := {(c.cond = C_None) or} conditions_equal(Subset, c);
-
-        { TODO: Can a PowerPC programmer please update this procedure to
-          actually detect subsets? Thanks. [Kit] }
       end;
       end;