Procházet zdrojové kódy

* node complexity of subscribing increased because it's not only a simple operation to a register but requires a memory access

git-svn-id: trunk@14495 -
florian před 15 roky
rodič
revize
fdb67a28ab
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/nutils.pas

+ 1 - 1
compiler/nutils.pas

@@ -669,7 +669,7 @@ implementation
               subscriptn:
                 begin
                   if is_class_or_interface_or_objc(tunarynode(p).left.resultdef) then
-                    inc(result);
+                    inc(result,2);
                   if (result = NODE_COMPLEXITY_INF) then
                     exit;
                   p := tunarynode(p).left;