Bug 26676 - Allow custom memory allocation control for JavaScriptCore's BytecodeGenerator class
Summary: Allow custom memory allocation control for JavaScriptCore's BytecodeGenerator...
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 05:57 PDT by Zoltan Horvath
Modified: 2009-06-24 18:10 PDT (History)
0 users

See Also:


Attachments
proposed patch (1.20 KB, patch)
2009-06-24 05:59 PDT, Zoltan Horvath
no flags Details | Formatted Diff | Diff
updated proposed patch (1.20 KB, patch)
2009-06-24 11:27 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 05:57:50 PDT
Inherits BytecodeGenerator class from FastAllocBase (bug #20422), because it has been instantiated by 'new' in JavaScriptCore/parser/Nodes.cpp:1892.
Comment 1 Zoltan Horvath 2009-06-24 05:59:44 PDT
Created attachment 31783 [details]
proposed patch
Comment 2 Zoltan Horvath 2009-06-24 11:27:15 PDT
Created attachment 31794 [details]
updated proposed patch
Comment 3 Maciej Stachowiak 2009-06-24 12:16:23 PDT
Comment on attachment 31794 [details]
updated proposed patch

r=me

You can probably do more of these at a time, rather than going class by class.
Comment 4 Eric Seidel (no email) 2009-06-24 16:55:14 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	JavaScriptCore/ChangeLog
	M	JavaScriptCore/bytecompiler/BytecodeGenerator.h
Committed r45122
http://trac.webkit.org/changeset/45122
Comment 5 David Levin 2009-06-24 18:10:16 PDT
This patch need a fix to build: http://trac.webkit.org/changeset/45128