aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-01-14 23:43:18 +0000
committerEli Bendersky <eliben@google.com>2013-01-14 23:43:18 +0000
commitbbe64fba4abbe65824587bd3ed9509df09cbc5e3 (patch)
treee07a3785f4ba0d63e52b127597a5e49e2904c030
parentc0c67b03b03d73d3614a084d467a388c35d264d1 (diff)
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
-rw-r--r--lib/MC/MCParser/AsmParser.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp
index 665d6729e6..66d3bc745a 100644
--- a/lib/MC/MCParser/AsmParser.cpp
+++ b/lib/MC/MCParser/AsmParser.cpp
@@ -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);