mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -151,8 +151,7 @@ namespace {
|
||||
|
||||
|
||||
char DAE::ID = 0;
|
||||
static RegisterPass<DAE>
|
||||
X("deadargelim", "Dead Argument Elimination");
|
||||
INITIALIZE_PASS(DAE, "deadargelim", "Dead Argument Elimination", false, false);
|
||||
|
||||
namespace {
|
||||
/// DAH - DeadArgumentHacking pass - Same as dead argument elimination, but
|
||||
@@ -167,8 +166,9 @@ namespace {
|
||||
}
|
||||
|
||||
char DAH::ID = 0;
|
||||
static RegisterPass<DAH>
|
||||
Y("deadarghaX0r", "Dead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE)");
|
||||
INITIALIZE_PASS(DAH, "deadarghaX0r",
|
||||
"Dead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE)",
|
||||
false, false);
|
||||
|
||||
/// createDeadArgEliminationPass - This pass removes arguments from functions
|
||||
/// which are not used by the body of the function.
|
||||
|
||||
Reference in New Issue
Block a user