Changeset 39083 in webkit for trunk/JavaScriptCore/runtime/RegExp.h
- Timestamp:
- Dec 7, 2008, 3:55:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExp.h
r38975 r39083 24 24 #include "UString.h" 25 25 #include "WREC.h" 26 #include "ExecutableAllocator.h" 26 27 #include <wtf/Forward.h> 27 28 #include <wtf/RefCounted.h> … … 35 36 class RegExp : public RefCounted<RegExp> { 36 37 public: 37 static PassRefPtr<RegExp> create( const UString& pattern);38 static PassRefPtr<RegExp> create( const UString& pattern, const UString& flags);38 static PassRefPtr<RegExp> create(JSGlobalData* globalData, const UString& pattern); 39 static PassRefPtr<RegExp> create(JSGlobalData* globalData, const UString& pattern, const UString& flags); 39 40 ~RegExp(); 40 41 … … 53 54 54 55 private: 55 RegExp( const UString& pattern);56 RegExp( const UString& pattern, const UString& flags);56 RegExp(JSGlobalData* globalData, const UString& pattern); 57 RegExp(JSGlobalData* globalData, const UString& pattern, const UString& flags); 57 58 58 59 void compile(); … … 69 70 #if ENABLE(WREC) 70 71 WREC::CompiledRegExp m_wrecFunction; 72 RefPtr<ExecutablePool> m_executablePool; 71 73 #endif 72 74 };
Note:
See TracChangeset
for help on using the changeset viewer.