[Webkit-unassigned] [Bug 50015] New: Move regex parsing and fallback handling to runtime/RegExp.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 24 04:43:48 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50015

           Summary: Move regex parsing and fallback handling to
                    runtime/RegExp.cpp
           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


Since the pcre is removed from YARR the parsing of regexes by YARR is always needed either in JIT or Interpreter case.
Therefore the moving of the parsing process to runtime/RegExp.cpp is sensible and it avoids the code duplication.

On the other hand the moving of the fallback handling to the runtime/RegExp.cpp from the YARR JIT reduces
the code complexity and the code of JIT and Interpreter is seperated (JIT doesn't need to call interpret()).

These modifications make compile() and execute()/interpret() functions of YARR more simple.

-- 
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