Bug 27343 - Allow custom memory allocation control in JavaScriptCore's RegexPattern.h
Summary: Allow custom memory allocation control in JavaScriptCore's RegexPattern.h
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-07-16 03:36 PDT by Zoltan Horvath
Modified: 2009-07-20 03:04 PDT (History)
2 users (show)

See Also:


Attachments
proposed patch (1.79 KB, patch)
2009-07-16 03:39 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-07-16 03:36:14 PDT
Inherits RegexPattern.h's structs (which have been instantiated by operator new) from FastAllocBase:

CharacterClass (new call: JavaScriptCore/yarr/RegexCompiler.cpp:144)
PatternAlternative (new call: JavaScriptCore/yarr/RegexPattern.h:221) 
PatternDisjunction (new call: JavaScriptCore/yarr/RegexCompiler.cpp:446)
Comment 1 Zoltan Horvath 2009-07-16 03:39:05 PDT
Created attachment 32852 [details]
proposed patch
Comment 2 Adam Barth 2009-07-16 16:48:57 PDT
Will land.
Comment 3 Adam Barth 2009-07-16 17:04:40 PDT
Unassigning.  This cased transitions/extra-transition.html to fail on my machine.  Seems unrelated.  Someone should try landing this again.
Comment 4 Simon Hausmann 2009-07-20 03:04:10 PDT
Landed in r46119