tree-object-size: Drop unused pdecl and poff arguments
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 7 Oct 2021 14:14:00 +0000 (19:44 +0530)
committerSiddhesh Poyarekar <siddhesh@gotplt.org>
Thu, 7 Oct 2021 15:02:19 +0000 (20:32 +0530)
commit5c1838c01652a403498e27024cb0e5ea66376353
tree76448d3891fb7c1ddadfdd78b67ee7064933508f
parent555fa3545efe23393ff21fe0928aa3942e1b90ed
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>
gcc/tree-object-size.c
gcc/tree-object-size.h