Title: [112455] trunk/Source/_javascript_Core
- Revision
- 112455
- Author
- [email protected]
- Date
- 2012-03-28 15:20:52 -0700 (Wed, 28 Mar 2012)
Log Message
Yarr: if we're not using the output array, don't populate it!
https://bugs.webkit.org/show_bug.cgi?id=82519
Reviewed by Sam Weinig.
* runtime/RegExp.cpp:
(JSC):
- Missed review comment! - didn't fully remove RegExpRepresentation.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (112454 => 112455)
--- trunk/Source/_javascript_Core/ChangeLog 2012-03-28 22:18:20 UTC (rev 112454)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-03-28 22:20:52 UTC (rev 112455)
@@ -5,6 +5,17 @@
Reviewed by Sam Weinig.
+ * runtime/RegExp.cpp:
+ (JSC):
+ - Missed review comment! - didn't fully remove RegExpRepresentation.
+
+2012-03-28 Gavin Barraclough <[email protected]>
+
+ Yarr: if we're not using the output array, don't populate it!
+ https://bugs.webkit.org/show_bug.cgi?id=82519
+
+ Reviewed by Sam Weinig.
+
Add a new variant of the match method to RegExp that returns a MatchResult,
and modify YarrJIT to be able to compile code that doesn't use an output vector.
Modified: trunk/Source/_javascript_Core/runtime/RegExp.cpp (112454 => 112455)
--- trunk/Source/_javascript_Core/runtime/RegExp.cpp 2012-03-28 22:18:20 UTC (rev 112454)
+++ trunk/Source/_javascript_Core/runtime/RegExp.cpp 2012-03-28 22:20:52 UTC (rev 112455)
@@ -217,9 +217,6 @@
}
#endif
-struct RegExpRepresentation {
-};
-
RegExp::RegExp(JSGlobalData& globalData, const UString& patternString, RegExpFlags flags)
: JSCell(globalData, globalData.regExpStructure.get())
, m_state(NotCompiled)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes