Browse Source

+ comments for newly added fields to tobjectdef for devirtualisation

git-svn-id: branches/wpo@12339 -
Jonas Maebe 17 years ago
parent
commit
de6f9bbf5a
1 changed files with 9 additions and 0 deletions
  1. 9 0
      compiler/symdef.pas

+ 9 - 0
compiler/symdef.pas

@@ -252,8 +252,17 @@ interface
           iidguid        : pguid;
           iidguid        : pguid;
           iidstr         : pshortstring;
           iidstr         : pshortstring;
           writing_class_record_dbginfo,
           writing_class_record_dbginfo,
+          { a class of this type has been created in this module }
           created_in_current_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,
           maybe_created_in_current_module,
+          { a "class of" this particular class has been created in
+            this module
+          }
           classref_created_in_current_module : boolean;
           classref_created_in_current_module : boolean;
           { store implemented interfaces defs and name mappings }
           { store implemented interfaces defs and name mappings }
           ImplementedInterfaces : TFPObjectList;
           ImplementedInterfaces : TFPObjectList;