]> git.ipfire.org Git - thirdparty/gcc.git/commit
icf: Remove unused constructors of sem_function and sem_variable
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 25 Mar 2025 05:32:54 +0000 (22:32 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Fri, 25 Apr 2025 14:46:44 +0000 (07:46 -0700)
commitb1109c22d78002f9ed4ef30fb275d7beb7554199
tree98041d7b375dc9a2488a2ebdd62248e3580f7112
parentad2da347ae41ce8f328fce7fb3a2355fdd9abe4b
icf: Remove unused constructors of sem_function and sem_variable

The constructors for sem_function and sem_variable that just
passes the bitmap obstack and NOT the cgraph node was unused
so let's remove it.

gcc/ChangeLog:

* ipa-icf.cc (sem_function::sem_function): Remove
the obstack argument version one.
(sem_variable::sem_variable): Likewise.
* ipa-icf.h (sem_function): Remove ctor for
obstack argument only one.
(sem_variable): Likewise.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/ipa-icf.cc
gcc/ipa-icf.h