Changeset 27763 in webkit for trunk/JavaScriptCore/kjs/regexp.h
- Timestamp:
- Nov 13, 2007, 4:30:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/regexp.h
r27702 r27763 30 30 namespace KJS { 31 31 32 class RegExp : Noncopyable{32 class RegExp : public Shared<RegExp> { 33 33 private: 34 34 enum { … … 43 43 ~RegExp(); 44 44 45 void ref() { ++m_refCount; }46 void deref() { if (--m_refCount == 0) delete this; }47 int refCount() { return m_refCount; }48 49 45 bool global() const { return m_flagBits & Global; } 50 46 bool ignoreCase() const { return m_flagBits & IgnoreCase; } … … 63 59 void compile(); 64 60 65 int m_refCount;66 67 61 // Data supplied by caller. 68 62 UString m_pattern; // FIXME: Just decompile m_regExp instead of storing this.
Note:
See TracChangeset
for help on using the changeset viewer.