Changeset 53032 in webkit
- Timestamp:
- Jan 8, 2010 5:57:52 PM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r53025 r53032 1 2010-01-08 Kent Hansen <kent.hansen@nokia.com> 2 3 Reviewed by Eric Seidel. 4 5 Don't store RegExp flags string representation 6 https://bugs.webkit.org/show_bug.cgi?id=33321 7 8 It's unused; the string representation is reconstructed from flags. 9 10 * runtime/RegExp.cpp: 11 (JSC::RegExp::RegExp): 12 * runtime/RegExp.h: 13 1 14 2010-01-08 Geoffrey Garen <ggaren@apple.com> 2 15 -
trunk/JavaScriptCore/runtime/RegExp.cpp
r52987 r53032 66 66 inline RegExp::RegExp(JSGlobalData* globalData, const UString& pattern, const UString& flags) 67 67 : m_pattern(pattern) 68 , m_flags(flags)69 68 , m_flagBits(0) 70 69 , m_constructionError(0) -
trunk/JavaScriptCore/runtime/RegExp.h
r52987 r53032 50 50 51 51 const UString& pattern() const { return m_pattern; } 52 const UString& flags() const { return m_flags; }53 52 54 53 bool isValid() const { return !m_constructionError; } … … 67 66 68 67 UString m_pattern; // FIXME: Just decompile m_regExp instead of storing this. 69 UString m_flags; // FIXME: Just decompile m_regExp instead of storing this.70 68 int m_flagBits; 71 69 const char* m_constructionError;
Note: See TracChangeset
for help on using the changeset viewer.