Ick, add the RIGHT accessor
[oota-llvm.git] / support / tools / TableGen / Record.h
index ab485553c0c1c38e3a3dd343fa6d0cd6e0edb8be..b26e13ec8c3c5f605260041e74b11298c7a8fdea 100644 (file)
@@ -601,7 +601,7 @@ public:
   }
 
   Record *getNodeType() const { return NodeTypeDef; }
-  const std::vector<Init*> getArgs() const { return Args; }
+  const std::vector<Init*> &getArgs() const { return Args; }
 
   virtual void print(std::ostream &OS) const;
 };