Commit 2c36c7fd by Per Bothner Committed by Per Bothner

* lang.c (put_decl_node): Print method's name.

From-SVN: r39172
parent 9c0c88ac
2001-01-21 Per Bothner <per@bothner.com> 2001-01-21 Per Bothner <per@bothner.com>
* lang.c (put_decl_node): Print method's name.
2001-01-21 Per Bothner <per@bothner.com>
* verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro. * verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro.
(verify_jvm_instructions): Use it, for better error messages on loads. (verify_jvm_instructions): Use it, for better error messages on loads.
......
...@@ -500,8 +500,11 @@ put_decl_node (node) ...@@ -500,8 +500,11 @@ put_decl_node (node)
if (TREE_CODE (node) == FUNCTION_DECL if (TREE_CODE (node) == FUNCTION_DECL
&& ! DECL_CONSTRUCTOR_P (node) && ! DECL_CONSTRUCTOR_P (node)
&& ! DECL_ARTIFICIAL (node) && DECL_CONTEXT (node)) && ! DECL_ARTIFICIAL (node) && DECL_CONTEXT (node))
put_decl_node (TYPE_NAME (DECL_CONTEXT (node))); {
else if (! DECL_CONSTRUCTOR_P (node)) put_decl_node (TYPE_NAME (DECL_CONTEXT (node)));
put_decl_string (".", 1);
}
if (! DECL_CONSTRUCTOR_P (node))
put_decl_node (DECL_NAME (node)); put_decl_node (DECL_NAME (node));
if (TREE_CODE (node) == FUNCTION_DECL && TREE_TYPE (node) != NULL_TREE) if (TREE_CODE (node) == FUNCTION_DECL && TREE_TYPE (node) != NULL_TREE)
{ {
......
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