Now GenericAsmParser and AsmParser are no longer friends, GenericAsmParser can

simply use the getParser method from MCAsmParserExtension, working through the
MCAsmParser interface. There's no longer a need to overload that method to
cast it to the concrete AsmParser.

llvm-svn: 172491
This commit is contained in:
Eli Bendersky 2013-01-14 23:43:18 +00:00
parent 382741283f
commit e6f4c68373
1 changed files with 0 additions and 4 deletions

View File

@ -375,10 +375,6 @@ class GenericAsmParser : public MCAsmParserExtension {
public:
GenericAsmParser() {}
AsmParser &getParser() {
return (AsmParser&) this->MCAsmParserExtension::getParser();
}
virtual void Initialize(MCAsmParser &Parser) {
// Call the base implementation.
this->MCAsmParserExtension::Initialize(Parser);