Small fix to the ARM AsmParser to ensure that a

superclass variable is instantiated properly.

llvm-svn: 129713
This commit is contained in:
Sean Callanan 2011-04-18 20:20:44 +00:00
parent e1103d0a86
commit 5e7f364b17

View File

@ -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<ARMSubtarget>()));