|| is_global_var (base))
return;
- if (detect_type_change (op, base, call, jfunc, offset))
- return;
-
binfo = TYPE_BINFO (TREE_TYPE (base));
- if (!binfo)
+ if (!binfo
+ || detect_type_change (op, base, call, jfunc, offset))
return;
+
binfo = get_binfo_at_offset (binfo, offset, TREE_TYPE (op));
if (binfo)
{