PredicateOperand related bug fix.
[oota-llvm.git] / utils / TableGen / CodeGenRegisters.h
index fbbec9a32a216bc1ca193cf5245c70483723d44d..8e9008c74aad69c3bac5e078008a1abda0752aff 100644 (file)
@@ -41,7 +41,7 @@ namespace llvm {
     std::string MethodProtos, MethodBodies;
 
     const std::string &getName() const;
-
+    const std::vector<MVT::ValueType> &getValueTypes() const { return VTs; }
     unsigned getNumValueTypes() const { return VTs.size(); }
     
     const MVT::ValueType getValueTypeNum(unsigned VTNum) const {