Commit e46540c3 by Mike Stump

* libgcc2.c (__throw_type_match): Update to use new calling convention.

From-SVN: r9254
parent e8601ecb
......@@ -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
......
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