aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-04-18 20:20:44 +0000
committerSean Callanan <scallanan@apple.com>2011-04-18 20:20:44 +0000
commitf6d9109124fa9ee5533dcc5a1c9f2af694890706 (patch)
tree98dc16551e77b2ee73d2df79ff1a48a5f28338bf /lib
parentd574bb5a6ee6cbe4d2387e4fa7f7f5ab099ea05f (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 05b2b46f18..29ecc182d3 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<ARMSubtarget>()));