diff options
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 7c26e6b..6f2fcfd 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -3355,6 +3355,21 @@ __sjpopnthrow () /* Support code for all exception region-based exception handling. */ +int +__eh_rtime_match (void *rtime) +{ + void *info; + __eh_matcher matcher; + void *ret; + + info = *(__get_eh_info ()); + matcher = ((__eh_info *)info)->match_function; + if (!matcher) + perror ("No runtime type matcher available"); + ret = (*matcher) (info, rtime, (void *)0); + return ((int)ret); +} + /* This value identifies the place from which an exception is being thrown. */ |