New C++ ABI: patches.
Mark Mitchell
mark@codesourcery.com
Sun Jan 7 12:39:00 GMT 2001
Oh, actually, I noticed one thing:
+ /* Mangle the class$ field. */
+ for (field = TYPE_FIELDS (type); field; field = TREE_CHAIN (field))
+ if (DECL_NAME (field) == CL_suffix)
+ {
+ name = mangle_decl (field);
+ break;
+ }
+ if (!field)
+ fatal ("Can't find class$");
+
This new code will fire even in the old ABI, and mangle_decl probably
isn't the right thing to use in the old ABI. Do you want to bracket
this new code with:
if (!flag_new_abi)
? You know best -- this code only fires for Java types...
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Java
mailing list