Procházet zdrojové kódy

Check for nil before doing loopunrolling.

git-svn-id: trunk@33047 -
Jeppe Johansen před 9 roky
rodič
revize
e20f2111b7
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      compiler/nflw.pas

+ 1 - 0
compiler/nflw.pas

@@ -1514,6 +1514,7 @@ implementation
 
          { loop unrolling }
          if (cs_opt_loopunroll in current_settings.optimizerswitches) and
+           assigned(t2) and
            { statements must be error free }
            not(nf_error in t2.flags) then
            begin