mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Minor cleanups to follow the common convention for pass
registration variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -41,12 +41,12 @@ namespace {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
char CrashOnCalls::ID = 0;
|
||||
RegisterPass<CrashOnCalls>
|
||||
char CrashOnCalls::ID = 0;
|
||||
static RegisterPass<CrashOnCalls>
|
||||
X("bugpoint-crashcalls",
|
||||
"BugPoint Test Pass - Intentionally crash on CallInsts");
|
||||
}
|
||||
|
||||
namespace {
|
||||
/// DeleteCalls - This pass is used to test bugpoint. It intentionally
|
||||
@ -67,9 +67,9 @@ namespace {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
char DeleteCalls::ID = 0;
|
||||
RegisterPass<DeleteCalls>
|
||||
char DeleteCalls::ID = 0;
|
||||
static RegisterPass<DeleteCalls>
|
||||
Y("bugpoint-deletecalls",
|
||||
"BugPoint Test Pass - Intentionally 'misoptimize' CallInsts");
|
||||
}
|
||||
|
Reference in New Issue
Block a user