]> gcc.gnu.org Git - gcc.git/commitdiff
* libgcc2.c (__throw_type_match): Update to use new calling convention.
authorMike Stump <mrs@gcc.gnu.org>
Thu, 30 Mar 1995 00:10:54 +0000 (00:10 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 30 Mar 1995 00:10:54 +0000 (00:10 +0000)
From-SVN: r9254

gcc/libgcc2.c

index bd33d1c489c60a9fa9262e392097a32315fa9b7d..6ddaf9d42023ec200b4bd8b76c4d99844c3c9c3f 100644 (file)
@@ -2224,14 +2224,16 @@ void *pc;
   return (void*)0;
 }
 
-int
-__throw_type_match (const char *catch_type, const char *throw_type)
+void *
+__throw_type_match (void *catch_type, void *throw_type, void* obj)
 {
 #if 0
  printf("__throw_type_match (): catch_type = %s, throw_type = %s\n",
        catch_type, throw_type);
 #endif
- return strcmp (catch_type, throw_type);
+ if (strcmp ((const char *)catch_type, (const char *)throw_type) == 0)
+   return obj;
+ return 0;
 }
 
 void
This page took 0.067191 seconds and 5 git commands to generate.