diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2017-12-21 07:02:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2017-12-21 07:02:28 +0000 |
commit | 0ddcd294d54bf049bb48fd7face88a1d8254877f (patch) | |
tree | cab559861d82df23cb110c4a88e09d7c00fcea80 /gcc/tree.h | |
parent | f7ed31955b00970413b202e0b4c3144aeec136d5 (diff) | |
download | gcc-0ddcd294d54bf049bb48fd7face88a1d8254877f.zip gcc-0ddcd294d54bf049bb48fd7face88a1d8254877f.tar.gz gcc-0ddcd294d54bf049bb48fd7face88a1d8254877f.tar.bz2 |
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.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r255932
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4856,7 +4856,7 @@ extern void tree_set_block (tree, tree); extern location_t *block_nonartificial_location (tree); extern location_t tree_nonartificial_location (tree); extern tree block_ultimate_origin (const_tree); -extern tree get_binfo_at_offset (tree, HOST_WIDE_INT, tree); +extern tree get_binfo_at_offset (tree, poly_int64, tree); extern bool virtual_method_call_p (const_tree); extern tree obj_type_ref_class (const_tree ref); extern bool types_same_for_odr (const_tree type1, const_tree type2, |