Explorar el Código

* 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 hace 15 años
padre
commit
fdb67a28ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;