Commit d35897f5 by Per Bothner Committed by Per Bothner

decl2.c (import_export_vtable): Suppress vtables for Java classes.

�
	* decl2.c (import_export_vtable):  Suppress vtables for Java classes.

From-SVN: r21878
parent 68caa397
1998-08-20 Per Bothner <bothner@cygnus.com>
* decl2.c (import_export_vtable): Suppress vtables for Java classes.
1998-08-20 Mark Mitchell <mark@markmitchell.com> 1998-08-20 Mark Mitchell <mark@markmitchell.com>
* decl.c (duplicate_decls): Always merge the old and new patterns * decl.c (duplicate_decls): Always merge the old and new patterns
......
...@@ -2551,10 +2551,10 @@ import_export_vtable (decl, type, final) ...@@ -2551,10 +2551,10 @@ import_export_vtable (decl, type, final)
return; return;
/* +e0 or +e1 */ /* +e0 or +e1 */
if (write_virtuals < 2 && write_virtuals != 0) if (write_virtuals < 0 || write_virtuals == 1 || TYPE_FOR_JAVA (type))
{ {
TREE_PUBLIC (decl) = 1; TREE_PUBLIC (decl) = 1;
if (write_virtuals < 0) if (write_virtuals < 0 || TYPE_FOR_JAVA (type))
DECL_EXTERNAL (decl) = 1; DECL_EXTERNAL (decl) = 1;
DECL_INTERFACE_KNOWN (decl) = 1; DECL_INTERFACE_KNOWN (decl) = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment