]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - yarr/RegexInterpreter.h
JavaScriptCore-584.tar.gz
[apple/javascriptcore.git] / yarr / RegexInterpreter.h
index a8c122ac71572745a7e96173ce47fd15bcae566f..48c9a5ef855c4006458e40ac5950ece79097eece 100644 (file)
@@ -280,7 +280,7 @@ struct ByteTerm {
     }
 };
 
-class ByteDisjunction {
+class ByteDisjunction : public FastAllocBase {
 public:
     ByteDisjunction(unsigned numSubpatterns, unsigned frameSize)
         : m_numSubpatterns(numSubpatterns)
@@ -293,7 +293,7 @@ public:
     unsigned m_frameSize;
 };
 
-struct BytecodePattern {
+struct BytecodePattern : FastAllocBase {
     BytecodePattern(ByteDisjunction* body, Vector<ByteDisjunction*> allParenthesesInfo, RegexPattern& pattern)
         : m_body(body)
         , m_ignoreCase(pattern.m_ignoreCase)