diff options
| author | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2021-10-07 19:44:00 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2021-10-07 20:32:19 +0530 |
| commit | 5c1838c01652a403498e27024cb0e5ea66376353 (patch) | |
| tree | 76448d3891fb7c1ddadfdd78b67ee7064933508f /gcc/tree-object-size.h | |
| parent | 555fa3545efe23393ff21fe0928aa3942e1b90ed (diff) | |
| download | gcc-5c1838c01652a403498e27024cb0e5ea66376353.zip gcc-5c1838c01652a403498e27024cb0e5ea66376353.tar.gz gcc-5c1838c01652a403498e27024cb0e5ea66376353.tar.bz2 | |
tree-object-size: Drop unused pdecl and poff arguments
The pdecl and poff arguments were added to allow their use in
compute_objsize in builtins.c. That use has been gone for a while now
since compute_objsize does its own size estimation, so drop these
arguments to simplify code.
gcc/ChangeLog:
* tree-object-size.c (addr_object_size,
compute_builtin_object_size): Drop PDECL and POFF arguments.
(addr_object_size): Adjust calls.
* tree-object-size.h (compute_builtin_object_size): Drop PDECL
and POFF arguments.
Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
Diffstat (limited to 'gcc/tree-object-size.h')
| -rw-r--r-- | gcc/tree-object-size.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-object-size.h b/gcc/tree-object-size.h index 358b902..ef18aea 100644 --- a/gcc/tree-object-size.h +++ b/gcc/tree-object-size.h @@ -22,8 +22,7 @@ along with GCC; see the file COPYING3. If not see extern void init_object_sizes (void); extern void fini_object_sizes (void); -extern bool compute_builtin_object_size (tree, int, unsigned HOST_WIDE_INT *, - tree * = NULL, tree * = NULL); +extern bool compute_builtin_object_size (tree, int, unsigned HOST_WIDE_INT *); extern tree decl_init_size (tree, bool); #endif // GCC_TREE_OBJECT_SIZE_H |
