Changeset 39809 in webkit for trunk/JavaScriptCore/runtime/RegExp.cpp
- Timestamp:
- Jan 11, 2009, 1:58:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExp.cpp
r39162 r39809 45 45 , m_numSubpatterns(0) 46 46 { 47 UNUSED_PARAM(globalData);48 47 #if ENABLE(WREC) 49 48 m_wrecFunction = Generator::compileRegExp(globalData, pattern, &m_numSubpatterns, &m_constructionError, m_executablePool); … … 51 50 return; 52 51 // Fall through to non-WREC case. 52 #else 53 UNUSED_PARAM(globalData); 53 54 #endif 54 55 m_regExp = jsRegExpCompile(reinterpret_cast<const UChar*>(pattern.data()), pattern.size(), … … 69 70 , m_numSubpatterns(0) 70 71 { 71 UNUSED_PARAM(globalData);72 73 72 // NOTE: The global flag is handled on a case-by-case basis by functions like 74 73 // String::match and RegExpObject::match. … … 94 93 return; 95 94 // Fall through to non-WREC case. 95 #else 96 UNUSED_PARAM(globalData); 96 97 #endif 97 98 m_regExp = jsRegExpCompile(reinterpret_cast<const UChar*>(pattern.data()), pattern.size(),
Note:
See TracChangeset
for help on using the changeset viewer.