+ bool hasCode()
+ {
+ return m_state != NotCompiled;
+ }
+
+ void invalidateCode();
+
+#if ENABLE(REGEXP_TRACING)
+ void printTraceData();
+#endif
+
+ static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype)
+ {
+ return Structure::create(globalData, globalObject, prototype, TypeInfo(LeafType, 0), &s_info);
+ }
+
+ static const ClassInfo s_info;
+
+ RegExpKey key() { return RegExpKey(m_flags, m_patternString); }
+
+ protected:
+ void finishCreation(JSGlobalData&);
+