make the new isel generator plop out a CheckComplexPattern function
[oota-llvm.git] / utils / TableGen / DAGISelMatcher.h
index 68737e2796b436323442c85401d97b42615f728d..b5dabafa5240dc9b0c9df1b0d43d0a7a66848953 100644 (file)
@@ -317,6 +317,8 @@ public:
   CheckComplexPatMatcherNode(const ComplexPattern &pattern)
   : MatcherNodeWithChild(CheckComplexPat), Pattern(pattern) {}
   
+  const ComplexPattern &getPattern() const { return Pattern; }
+  
   static inline bool classof(const MatcherNode *N) {
     return N->getKind() == CheckComplexPat;
   }