Bug 84416

Summary: Inline the JSArray constructor
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: JavaScriptCoreAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, ggaren
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch ggaren: review+

Benjamin Poulain
Reported 2012-04-19 20:12:51 PDT
Inline the JSArray constructor, it is trivial, all its parents are inline, and it takes time to jump to it.
Attachments
Patch (2.42 KB, patch)
2012-04-19 20:44 PDT, Benjamin Poulain
no flags
Patch (3.34 KB, patch)
2012-04-20 11:32 PDT, Benjamin Poulain
ggaren: review+
Benjamin Poulain
Comment 1 2012-04-19 20:44:23 PDT
Build Bot
Comment 2 2012-04-19 21:11:11 PDT
Benjamin Poulain
Comment 3 2012-04-19 23:49:10 PDT
9>jsc.obj : error LNK2005: "protected: __thiscall JSC::JSArray::JSArray(class JSC::JSGlobalData &,class JSC::Structure *)" (??0JSArray@JSC@@IAE@AAVJSGlobalData@1@PAVStructure@1@@Z) already defined in JavaScriptCore.lib(JavaScriptCore.dll) This is mysterious. Does Windows systematically generate symbols for inlined functions?
Benjamin Poulain
Comment 4 2012-04-20 11:32:10 PDT
Geoffrey Garen
Comment 5 2012-04-20 15:18:55 PDT
Comment on attachment 138126 [details] Patch r=me
Benjamin Poulain
Comment 6 2012-04-20 15:53:44 PDT
Note You need to log in before you can comment on or make changes to this bug.