Переглянути джерело

* 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 15 роки тому
батько
коміт
fdb67a28ab
1 змінених файлів з 1 додано та 1 видалено
  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;