[DynInst_API:] [dyninst/dyninst] 198e41: Clean up dead code in common/ast.C (#1622)


Date: Mon, 06 Nov 2023 14:58:51 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 198e41: Clean up dead code in common/ast.C (#1622)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 198e41d56a72762656cd95f31b9c83f0f6d3b150
      https://github.com/dyninst/dyninst/commit/198e41d56a72762656cd95f31b9c83f0f6d3b150
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/ast.h

  Log Message:
  -----------
  Clean up dead code in common/ast.C (#1622)

* Remove AStNode::printRC

It was introduced by bddc6379 in 1996, but doesn't seem to have ever
been called.

* Remove AstNode::print()

Its declaration was removed by 123a8c7f3 in 2006.

* Remove getOpString

It's not used anymore.

* Remove AST_PRINT

It's not used anymore.

* Remove call to ASTcounter

Its definition was removed by e7c183b93 in 2007.

* Get rid of the rest of usages of ASTDEBUG

The macro was broken by e7c183b93 in 2007 when ASTcounter was removed.

* Remove commented-out code in AstNode::accessesParam

It was removed by 20116a102 in 2006.

* Remove tramp_pre_frame_size_{32,64}

They were added by 4d85176be in 2008, but never used.

* Remove unused forward declarations


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 198e41: Clean up dead code in common/ast.C (#1622), Tim Haines <=