+2006-12-04 Carlos O'Donell <carlos@codesourcery.com>
+
+ * config/arm/unwind-arm.c: Adjust __cxa_type_match declaration.
+ (__gnu_unwind_pr_common): Pass is_reference to __cxa_type_match.
+
2006-12-04 Andrew MacLeod <amacleod@redhat.com>
* tree-outof-ssa.c (coalesce_ssa_name): Use calculate_live_ranges.
bool __attribute__((weak)) __cxa_begin_cleanup(_Unwind_Control_Block *ucbp);
bool __attribute__((weak)) __cxa_type_match(_Unwind_Control_Block *ucbp,
const type_info *rttip,
+ bool is_reference,
void **matched_object);
_Unwind_Ptr __attribute__((weak))
{
/* Check for a barrier. */
_uw rtti;
+ bool is_reference = (data[0] & uint32_highbit) != 0;
void *matched;
/* Check for no-throw areas. */
/* Match a catch specification. */
rtti = _Unwind_decode_target2 ((_uw) &data[1]);
if (!__cxa_type_match (ucbp, (type_info *) rtti,
+ is_reference,
&matched))
matched = (void *)0;
}
{
matched = (void *)(ucbp + 1);
rtti = _Unwind_decode_target2 ((_uw) &data[i + 1]);
- if (__cxa_type_match (ucbp, (type_info *) rtti,
+ if (__cxa_type_match (ucbp, (type_info *) rtti, 0,
&matched))
break;
}