RESOLVED FIXED 33321
Don't store RegExp flags string representation
https://bugs.webkit.org/show_bug.cgi?id=33321
Summary Don't store RegExp flags string representation
Kent Hansen
Reported 2010-01-07 07:06:06 PST
There's a FIXME in RegExp.h stating that it shouldn't be necessary to store the original flags string. Well, actually it isn't; RegExp.prototype.toString already uses the flag bits to reconstruct the string.
Attachments
proposed patch (2.02 KB, patch)
2010-01-07 07:11 PST, Kent Hansen
no flags
Kent Hansen
Comment 1 2010-01-07 07:11:24 PST
Created attachment 46050 [details] proposed patch
WebKit Review Bot
Comment 2 2010-01-07 07:15:56 PST
style-queue ran check-webkit-style on attachment 46050 [details] without any errors.
WebKit Commit Bot
Comment 3 2010-01-08 03:33:04 PST
Comment on attachment 46050 [details] proposed patch Clearing flags on attachment: 46050 Committed r52983: <http://trac.webkit.org/changeset/52983>
WebKit Commit Bot
Comment 4 2010-01-08 03:33:13 PST
All reviewed patches have been landed. Closing bug.
Eric Seidel (no email)
Comment 5 2010-01-08 04:10:02 PST
Reverted r52983 for reason: Broke 59 JavaScriptCore tests. I don't think Kent knew about run-javascriptcore-tests. Sadly neither does the commit-bot, yet. Committed r52987: <http://trac.webkit.org/changeset/52987>
Eric Seidel (no email)
Comment 6 2010-01-08 04:30:20 PST
I think my rollout may have been wrong. :( I think the bots are just flakey. They reported more failures after the first failures which seemed to be correlated to this patch. I'll wait for them to calm down and then roll this back in if necessary. Lesson: You can't trust the bots.
Eric Seidel (no email)
Comment 7 2010-01-08 04:42:16 PST
I will have the commit-queue land this again one bug 33376 is landed.
Eric Seidel (no email)
Comment 8 2010-01-08 05:03:00 PST
Comment on attachment 46050 [details] proposed patch Sorry for the troubles. The commit-queue will re-land this shortly (and will re-confirm that it does not break run-javascriptcore-tests before landing).
WebKit Commit Bot
Comment 9 2010-01-08 17:57:59 PST
Comment on attachment 46050 [details] proposed patch Clearing flags on attachment: 46050 Committed r53032: <http://trac.webkit.org/changeset/53032>
WebKit Commit Bot
Comment 10 2010-01-08 17:58:04 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.