Commit 9faa149c by Jan Hubicka Committed by Jan Hubicka

decl2.c (maybe_make_one_only): Use mark_referenced.

	* decl2.c (maybe_make_one_only): Use mark_referenced.
	* method.c (use_thunk): Likewsie.

From-SVN: r69979
parent 10bbf137
Thu Jul 31 01:07:41 CEST 2003 Jan Hubicka <jh@suse.cz>
* decl2.c (maybe_make_one_only): Use mark_referenced.
* method.c (use_thunk): Likewsie.
Wed Jul 30 19:12:48 CEST 2003 Jan Hubicka <jh@suse.cz> Wed Jul 30 19:12:48 CEST 2003 Jan Hubicka <jh@suse.cz>
* class.c (build_vtable_entry_ref): Kill. * class.c (build_vtable_entry_ref): Kill.
......
...@@ -1517,7 +1517,7 @@ maybe_make_one_only (tree decl) ...@@ -1517,7 +1517,7 @@ maybe_make_one_only (tree decl)
{ {
DECL_COMDAT (decl) = 1; DECL_COMDAT (decl) = 1;
/* Mark it needed so we don't forget to emit it. */ /* Mark it needed so we don't forget to emit it. */
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)) = 1; mark_referenced (DECL_ASSEMBLER_NAME (decl));
} }
} }
......
...@@ -323,7 +323,7 @@ use_thunk (tree thunk_fndecl, bool emit_p) ...@@ -323,7 +323,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
this translation unit. */ this translation unit. */
TREE_ADDRESSABLE (function) = 1; TREE_ADDRESSABLE (function) = 1;
mark_used (function); mark_used (function);
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (function)) = 1; mark_referenced (DECL_ASSEMBLER_NAME (function));
if (!emit_p) if (!emit_p)
return; return;
...@@ -460,7 +460,7 @@ use_thunk (tree thunk_fndecl, bool emit_p) ...@@ -460,7 +460,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
/* Since we want to emit the thunk, we explicitly mark its name as /* Since we want to emit the thunk, we explicitly mark its name as
referenced. */ referenced. */
TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (thunk_fndecl)) = 1; mark_referenced (DECL_ASSEMBLER_NAME (thunk_fndecl));
/* But we don't want debugging information about it. */ /* But we don't want debugging information about it. */
DECL_IGNORED_P (thunk_fndecl) = 1; DECL_IGNORED_P (thunk_fndecl) = 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