mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 04:14:03 +08:00
Small fix to the ARM AsmParser to ensure that a
superclass variable is instantiated properly. llvm-svn: 129713
This commit is contained in:
@@ -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>()));
|
||||
|
||||
Reference in New Issue
Block a user