Browse Source

* Removed unused trttitypes extrtti and attribute

git-svn-id: branches/joost/classattributes@25241 -
joost 12 years ago
parent
commit
2a74d8ad56
3 changed files with 1 additions and 13 deletions
  1. 0 2
      compiler/ncgrtti.pas
  2. 0 2
      compiler/symconst.pas
  3. 1 9
      compiler/symdef.pas

+ 0 - 2
compiler/ncgrtti.pas

@@ -82,8 +82,6 @@ implementation
     const
     const
        rttidefstate : array[trttitype] of tdefstate =
        rttidefstate : array[trttitype] of tdefstate =
          (ds_rtti_table_written,ds_init_table_written,
          (ds_rtti_table_written,ds_init_table_written,
-         { Extended RTTI}
-         symconst.ds_none,symconst.ds_none,
          { Objective-C related, does not pass here }
          { Objective-C related, does not pass here }
          symconst.ds_none,symconst.ds_none,
          symconst.ds_none,symconst.ds_none,
          symconst.ds_none,symconst.ds_none);
          symconst.ds_none,symconst.ds_none);

+ 0 - 2
compiler/symconst.pas

@@ -553,8 +553,6 @@ type
   { RTTI information to store }
   { RTTI information to store }
   trttitype = (
   trttitype = (
     fullrtti,initrtti,
     fullrtti,initrtti,
-    { Extended RTTI }
-    extrtti, attribute,
     { Objective-C }
     { Objective-C }
     objcmetartti,objcmetarortti,
     objcmetartti,objcmetarortti,
     objcclassrtti,objcclassrortti
     objcclassrtti,objcclassrortti

+ 1 - 9
compiler/symdef.pas

@@ -1439,15 +1439,7 @@ implementation
       var
       var
         prefix : string[4];
         prefix : string[4];
       begin
       begin
-        if rt=extrtti then
-          begin
-            prefix:='EXTR';
-          end
-        else if rt=attribute then
-          begin
-            prefix:='ATTR';
-          end
-        else if (rt=fullrtti) or (not needs_separate_initrtti) then
+        if (rt=fullrtti) or (not needs_separate_initrtti) then
           begin
           begin
             prefix:='RTTI';
             prefix:='RTTI';
             include(defstates,ds_rtti_table_used);
             include(defstates,ds_rtti_table_used);