poly_int: get_binfo_at_offset
commit6e52842084089813ce8e3206e98906def5d36adb
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 07:02:28 +0000 (21 07:02 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Dec 2017 07:02:28 +0000 (21 07:02 +0000)
treecab559861d82df23cb110c4a88e09d7c00fcea80
parent68a46b441ab8c0a46da82965fc3b1513fc40617f
poly_int: get_binfo_at_offset

This patch changes the offset parameter to get_binfo_at_offset
from HOST_WIDE_INT to poly_int64.  This function probably doesn't
need to handle polynomial offsets in practice, but it's easy
to do and avoids forcing the caller to check first.

2017-12-21  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* tree.h (get_binfo_at_offset): Take the offset as a poly_int64
rather than a HOST_WIDE_INT.
* tree.c (get_binfo_at_offset): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255932 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree.c
gcc/tree.h