From: Sean Callanan Date: Mon, 18 Apr 2011 20:20:44 +0000 (+0000) Subject: Small fix to the ARM AsmParser to ensure that a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6d9109124fa9ee5533dcc5a1c9f2af694890706;p=oota-llvm.git Small fix to the ARM AsmParser to ensure that a superclass variable is instantiated properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 05b2b46f18a..29ecc182d31 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -114,6 +114,7 @@ class ARMAsmParser : public TargetAsmParser { public: ARMAsmParser(const Target &T, MCAsmParser &_Parser, TargetMachine &_TM) : TargetAsmParser(T), Parser(_Parser), TM(_TM) { + MCAsmParserExtension::Initialize(_Parser); // Initialize the set of available features. setAvailableFeatures(ComputeAvailableFeatures( &TM.getSubtarget()));