introduce MCParsedAsmOperand
authorChris Lattner <sabre@nondot.org>
Thu, 14 Jan 2010 21:21:40 +0000 (21:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 14 Jan 2010 21:21:40 +0000 (21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93455 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index ed4667ba18556094ddcdcd6ce3ad1c721a5b98a0..db776850464043524323d84ee96ac00fe0161d7d 100644 (file)
@@ -12,6 +12,7 @@
 #include "llvm/ADT/Twine.h"
 #include "llvm/MC/MCAsmLexer.h"
 #include "llvm/MC/MCAsmParser.h"
+#include "llvm/MC/MCParsedAsmOperand.h"
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/MC/MCExpr.h"
 #include "llvm/MC/MCInst.h"
@@ -101,7 +102,7 @@ public:
   
 /// ARMOperand - Instances of this class represent a parsed ARM machine
 /// instruction.
-struct ARMOperand {
+struct ARMOperand : public MCParsedAsmOperand {
   enum {
     Token,
     Register,