[Webkit-unassigned] [Bug 49385] New: Reduce the size of the RegexStackSpaceForBackTrackInfoParentheses in YARR
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 11 08:03:27 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49385
Summary: Reduce the size of the
RegexStackSpaceForBackTrackInfoParentheses in YARR
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pvarga at inf.u-szeged.hu
CC: barraclough at apple.com, zherczeg at webkit.org,
msaboff at apple.com
The BackTrackInfoParentheses struct in YARR Interpreter stores two members (prevBegin, prevEnd) which are unnecessary for
the current matching logic. These are storing the last successful match of a parentheses. The result of match is restored
from these members in case of backtrack but this isn't needed because the recordParenthesesMatch() or the resetMatches()
function updates the result of match in every case.
NOTE: This modification is needed just in the Interpreter because the JIT doesn't store
backtrack information of iterative parentheses for the time being.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list