Commit e87047c6 by Per Bothner Committed by Per Bothner

class.c (push_class): By default, suppress debug output.


	* class.c (push_class): By default, suppress debug output.
	(finish_class): Enable debug output for classes we're emitting.

From-SVN: r97797
parent ad9945b5
2005-04-07 Per Bothner <per@bothner.com>
* class.c (push_class): By default, suppress debug output.
(finish_class): Enable debug output for classes we're emitting.
2005-04-07 Andrew Haley <aph@redhat.com> 2005-04-07 Andrew Haley <aph@redhat.com>
* gcj.texi: Correct gcj-dbtool instructions. * gcj.texi: Correct gcj-dbtool instructions.
......
...@@ -423,6 +423,7 @@ push_class (tree class_type, tree class_name) ...@@ -423,6 +423,7 @@ push_class (tree class_type, tree class_name)
#endif #endif
CLASS_P (class_type) = 1; CLASS_P (class_type) = 1;
decl = build_decl (TYPE_DECL, class_name, class_type); decl = build_decl (TYPE_DECL, class_name, class_type);
TYPE_DECL_SUPPRESS_DEBUG (decl) = 1;
/* dbxout needs a DECL_SIZE if in gstabs mode */ /* dbxout needs a DECL_SIZE if in gstabs mode */
DECL_SIZE (decl) = integer_zero_node; DECL_SIZE (decl) = integer_zero_node;
...@@ -1906,6 +1907,7 @@ finish_class (void) ...@@ -1906,6 +1907,7 @@ finish_class (void)
java_expand_catch_classes (current_class); java_expand_catch_classes (current_class);
current_function_decl = NULL_TREE; current_function_decl = NULL_TREE;
TYPE_DECL_SUPPRESS_DEBUG (TYPE_NAME (current_class)) = 0;
make_class_data (current_class); make_class_data (current_class);
register_class (); register_class ();
rest_of_decl_compilation (TYPE_NAME (current_class), 1, 0); rest_of_decl_compilation (TYPE_NAME (current_class), 1, 0);
......
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