mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c0c67b03b0
commit
bbe64fba4a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user