summaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-13 18:57:31 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-13 18:57:31 +0000
commit382597e4e1587e7de04f81ba9903811a8a93d640 (patch)
tree3c1d073f5371ed3d1591b0a5f61b529b6c5b86af /gcc/cp/except.c
parentdc9e4762207f5086d6dabe37bea7c45119a85ea4 (diff)
downloadgcc-382597e4e1587e7de04f81ba9903811a8a93d640.tar.gz
Centralize knowledge of eh personality routines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 9d19aa984fd..b9176647ba7 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -295,9 +295,8 @@ decl_is_java_type (tree decl, int err)
/* Select the personality routine to be used for exception handling,
or issue an error if we need two different ones in the same
translation unit.
- ??? At present eh_personality_decl is set to
- __gxx_personality_(sj|v)0 in init_exception_processing - should it
- be done here instead? */
+ ??? At present DECL_FUNCTION_PERSONALITY is set via
+ LANG_HOOKS_EH_PERSONALITY. Should it be done here instead? */
void
choose_personality_routine (enum languages lang)
{