Bug 26677 - Allow custom memory allocation control for JavaScriptCore's CodeBlock class
Summary: Allow custom memory allocation control for JavaScriptCore's CodeBlock class
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 26686
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-24 06:09 PDT by Zoltan Horvath
Modified: 2009-06-24 18:10 PDT (History)
0 users

See Also:


Attachments
proposed patch (1.06 KB, patch)
2009-06-24 06:11 PDT, Zoltan Horvath
no flags Details | Formatted Diff | Diff
updated proposed patch (1.05 KB, patch)
2009-06-24 11:28 PDT, Zoltan Horvath
mjs: 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-06-24 06:09:02 PDT
Inherits CodeBlock class from FastAllocBase (bug #20422), because it
has been instantiated by 'new' in JavaScriptCore/bytecode/CodeBlock.h:217.
Comment 1 Zoltan Horvath 2009-06-24 06:11:09 PDT
Created attachment 31784 [details]
proposed patch
Comment 2 Zoltan Horvath 2009-06-24 11:28:50 PDT
Created attachment 31795 [details]
updated proposed patch
Comment 3 Maciej Stachowiak 2009-06-24 12:16:33 PDT
Comment on attachment 31795 [details]
updated proposed patch

r=me
Comment 4 Eric Seidel (no email) 2009-06-24 16:56:03 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	JavaScriptCore/ChangeLog
	M	JavaScriptCore/bytecode/CodeBlock.h
Committed r45123
http://trac.webkit.org/changeset/45123
Comment 5 David Levin 2009-06-24 18:10:58 PDT
This patch needed a fix to build: http://trac.webkit.org/changeset/45128