Changeset 474
- Timestamp:
- Jul 29, 2003, 8:52:45 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/emxomf/stabshll.c
-
Property cvs2svn:cvs-rev
changed from
1.17
to1.18
r473 r474 2061 2061 * TODO: verify that this doesn't really work with overloaded constructors and fix it. 2062 2062 */ 2063 if ( !(tf->flags & MEMBER_STATIC) 2064 && *((unsigned*)tf->name) == ('_' | '_' << 8 | 'c' << 16 | 'o' << 24) 2065 && *((unsigned*)tf->name) == ('_' | '_' << 8 | 'b' << 16 | 'a' << 24) 2066 ) 2063 if (!(tf->flags & MEMBER_STATIC)) 2067 2064 { 2068 if (!strcmp(tf->name, "__comp_ctor") || !strcmp(tf->name, "__base_ctor")) 2065 /* using the strpool is much faster! */ 2066 static const char *pszCompCtor, *pszBaseCtor, *pszCompDtor, *pszBaseDtor = NULL; 2067 if (!pszBaseDtor) 2068 { 2069 pszCompCtor = strpool_addn(str_pool, "__comp_ctor", 11); 2070 pszBaseCtor = strpool_addn(str_pool, "__base_ctor", 11); 2071 pszCompDtor = strpool_addn(str_pool, "__comp_dtor", 11); 2072 pszBaseDtor = strpool_addn(str_pool, "__base_dtor", 11); 2073 } 2074 2075 if (tf->name == pszCompCtor || tf->name == pszBaseCtor) 2069 2076 tf->flags |= MEMBER_CTOR; 2070 else if ( !strcmp(tf->name, "__comp_dtor") || !strcmp(tf->name, "__base_dtor"))2077 else if (tf->name == pszCompDtor || tf->name == pszBaseDtor) 2071 2078 tf->flags |= MEMBER_DTOR; 2072 2079 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.