Bug 70741

Summary: Remove getOwnPropertySlotVirtual
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, japhet, ossy, pnormand, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 67690    
Attachments:
Description Flags
Patch ggaren: review+

Mark Hahnenberg
Reported 2011-10-24 10:42:33 PDT
Now that we have an entry in the MethodTable for both versions of getOwnPropertySlot, we can remove their virtual counterparts and replace all call sites with an explicit lookup in the MethodTable.
Attachments
Patch (106.39 KB, patch)
2011-10-25 14:30 PDT, Mark Hahnenberg
ggaren: review+
Mark Hahnenberg
Comment 1 2011-10-25 14:30:51 PDT
Geoffrey Garen
Comment 2 2011-10-26 09:47:14 PDT
Comment on attachment 112404 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112404&action=review r=me > Source/JavaScriptCore/API/JSCallbackObject.h:178 > + const MethodTable* methodTable() const > + { > + return Parent::methodTable(); > + } I believe "using Parent::methodTable;" would work here, and be slightly more precise about what you mean.
Mark Hahnenberg
Comment 3 2011-10-26 11:04:01 PDT
Csaba Osztrogonác
Comment 4 2011-10-27 04:26:10 PDT
It seems it broke bindings-tests on all bot. Could you fix it, please?
Philippe Normand
Comment 5 2011-10-27 05:10:16 PDT
(In reply to comment #4) > It seems it broke bindings-tests on all bot. Could you fix it, please? Looks like the tests only need a reset. I can land it unless someone objects.
Philippe Normand
Comment 6 2011-10-27 05:24:46 PDT
(In reply to comment #5) > (In reply to comment #4) > > It seems it broke bindings-tests on all bot. Could you fix it, please? > > Looks like the tests only need a reset. I can land it unless someone objects. Landed http://trac.webkit.org/changeset/98552
Note You need to log in before you can comment on or make changes to this bug.