[DynInst_API:] [dyninst/dyninst] 39e1f3: Remove unused and redundant codegen functions (#2223)


Date: Fri, 24 Apr 2026 11:42:19 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 39e1f3: Remove unused and redundant codegen functions (#2223)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 39e1f304ec6d49752856d292242f2300a2f68f3c
      https://github.com/dyninst/dyninst/commit/39e1f304ec6d49752856d292242f2300a2f68f3c
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-04-24 (Fri, 24 Apr 2026)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/inst-aarch64.C
    M dyninstAPI/src/inst-power.C
    M dyninstAPI/src/inst-x86.C
    M dyninstAPI/src/inst.h
    M dyninstAPI/src/linux-aarch64.C
    M dyninstAPI/src/linux-power.C

  Log Message:
  -----------
  Remove unused and redundant codegen functions (#2223)

* aarch64 - remove redundant declaration of MAX_BRANCH_OFFSET

* aarch64 - move declaration of getMaxBranch into linux-aarch64.C

It's the only place it's used.

* aarch64 - remove unused functions in inst-aarch64.C

* ppc - remove redundant definition of MAX_BRANCH

* ppc - remove redundant definition of getMaxBranch

* ppc - Remove unused function in inst-power.C

* ppc - remove floatingLiveRegList

Its usage was removed by bb377beb9 in 2007.

* ppc - remove registerNames

It was added by 3169f28af in 1995, but never used.

* x86 - remove unused getMaxBranch, MAX_BRANCH

* Remove unused declaration of getMaxBranch



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 39e1f3: Remove unused and redundant codegen functions (#2223), Tim Haines <=