Bug 74339

Summary: Add destroy method to MethodTable
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 74331, 74341    
Attachments:
Description Flags
Add destroy to MethodTable ggaren: review+

Mark Hahnenberg
Reported 2011-12-12 14:33:25 PST
In order to have dynamic dispatch for our destructors, we will add a destroy function pointer to the MethodTable, which will be responsible for doing the same thing that the old virtual destructor did. We will also change the code in MarkedBlock::callDestructor to use this new destroy function rather than calling the virtual destructor directly. Initially the destroy function will just call the old virtual destructor.
Attachments
Add destroy to MethodTable (4.07 KB, patch)
2011-12-12 14:51 PST, Mark Hahnenberg
ggaren: review+
Mark Hahnenberg
Comment 1 2011-12-12 14:51:44 PST
Created attachment 118862 [details] Add destroy to MethodTable No changelog (see bug 74331).
Geoffrey Garen
Comment 2 2011-12-12 15:03:25 PST
Comment on attachment 118862 [details] Add destroy to MethodTable You can use your Bugzilla comments in your ChangeLog.
Note You need to log in before you can comment on or make changes to this bug.