Commit 47a5d8e7 by Jan Hubicka Committed by Jan Hubicka

* objc-act.c: (mark_referenced_methods): Fix compilation problem.

From-SVN: r63478
parent cb9e4555
Wed Feb 26 19:46:25 CET 2003 Jan Hubicka <jh@suse.cz>
* objc-act.c: (mark_referenced_methods): Fix compilation problem.
2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcov-dump.c (print_prefix): Fix signedness warning. * gcov-dump.c (print_prefix): Fix signedness warning.
......
...@@ -4041,13 +4041,13 @@ mark_referenced_methods () ...@@ -4041,13 +4041,13 @@ mark_referenced_methods ()
chain = CLASS_CLS_METHODS (impent->imp_context); chain = CLASS_CLS_METHODS (impent->imp_context);
while (chain) while (chain)
{ {
cgraph_mark_needed_node (cgraph_node (METHOD_DEFINITION (chain))); cgraph_mark_needed_node (cgraph_node (METHOD_DEFINITION (chain)), 1);
chain = TREE_CHAIN (chain); chain = TREE_CHAIN (chain);
} }
chain = CLASS_NST_METHODS (impent->imp_context); chain = CLASS_NST_METHODS (impent->imp_context);
while (chain) while (chain)
{ {
cgraph_mark_needed_node (cgraph_node (METHOD_DEFINITION (chain))); cgraph_mark_needed_node (cgraph_node (METHOD_DEFINITION (chain)), 1);
chain = TREE_CHAIN (chain); chain = TREE_CHAIN (chain);
} }
} }
......
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