Bug 29025 - Allow custom memory allocation control in Yarr's RegexInterpreter
Summary: Allow custom memory allocation control in Yarr's RegexInterpreter
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 02:02 PDT by Zoltan Horvath
Modified: 2009-09-08 08:02 PDT (History)
0 users

See Also:


Attachments
proposed patch (1.66 KB, patch)
2009-09-08 02:06 PDT, Zoltan Horvath
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Horvath 2009-09-08 02:02:50 PDT
Inherits RegexInterpreter classes from FastAllocBase (bug #20422), which has been instantiated by 'new':

class ByteDisjunction
-> instantiated in JavaScriptCore/yarr/RegexInterpreter.cpp:1462

struct BytecodePattern
-> instantiated in JavaScriptCore/yarr/RegexInterpreter.cpp:1279
Comment 1 Zoltan Horvath 2009-09-08 02:06:05 PDT
Created attachment 39176 [details]
proposed patch
Comment 2 Zoltan Horvath 2009-09-08 08:02:32 PDT
Landed in r48155. http://trac.webkit.org/changeset/48155/