浏览代码

+ comments for newly added fields to tobjectdef for devirtualisation

git-svn-id: branches/wpo@12339 -
Jonas Maebe 17 年之前
父节点
当前提交
de6f9bbf5a
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      compiler/symdef.pas

+ 9 - 0
compiler/symdef.pas

@@ -252,8 +252,17 @@ interface
           iidguid        : pguid;
           iidstr         : pshortstring;
           writing_class_record_dbginfo,
+          { a class of this type has been created in this module }
           created_in_current_module,
+          { a loadvmtnode for this class has been created in this
+            module, so if a classrefdef variable of this or a parent
+            class is used somewhere to instantiate a class, then this
+            class may be instantiated
+          }
           maybe_created_in_current_module,
+          { a "class of" this particular class has been created in
+            this module
+          }
           classref_created_in_current_module : boolean;
           { store implemented interfaces defs and name mappings }
           ImplementedInterfaces : TFPObjectList;