mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Revert r110396 to fix buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -23,7 +23,7 @@ using namespace llvm;
|
||||
namespace {
|
||||
struct InstNamer : public FunctionPass {
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
InstNamer() : FunctionPass(ID) {}
|
||||
InstNamer() : FunctionPass(&ID) {}
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &Info) const {
|
||||
Info.setPreservesAll();
|
||||
@ -53,7 +53,7 @@ namespace {
|
||||
}
|
||||
|
||||
|
||||
char &llvm::InstructionNamerID = InstNamer::ID;
|
||||
const PassInfo *const llvm::InstructionNamerID = &X;
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.
|
||||
|
Reference in New Issue
Block a user