Remove 'XXXRegisterClass' from tablegen output. Targets should use '&XXXRegClass' instead.

llvm-svn: 155270
This commit is contained in:
Craig Topper 2012-04-21 01:49:25 +00:00
parent 6483d22f1b
commit efada2c0b4
1 changed files with 0 additions and 3 deletions

View File

@ -700,9 +700,6 @@ RegisterInfoEmitter::runTargetHeader(raw_ostream &OS, CodeGenTarget &Target,
// Output the extern for the instance.
OS << " extern const TargetRegisterClass " << Name << "RegClass;\n";
// Output the extern for the pointer to the instance (should remove).
OS << " static const TargetRegisterClass * const " << Name
<< "RegisterClass = &" << Name << "RegClass;\n";
}
OS << "} // end of namespace " << TargetName << "\n\n";
}