This is needed for Proxy. To make things fast, we will probably have to change some JIT code to respect this and to introduce a getPrototypeInline which will try to perform the default getPrototype which will probably be named getPrototypeDirect.
Created attachment 273102 [details] patch
Comment on attachment 273102 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=273102&action=review > Source/JavaScriptCore/dfg/DFGOperations.cpp:1392 > > +#if USE(JSVALUE64) > +EncodedJSValue > +#else > +int32_t > +#endif Yuck! Why not just return size_t like other functions that are in this situation?
Created attachment 273104 [details] perf numbers
Created attachment 273147 [details] patch for landing
The compiler is confused about the ClassName::getPrototype when building the method table :(
Created attachment 273151 [details] patch for landing v2 I want to see EWS results
Created attachment 273152 [details] v3 more method renaming. Hopefully no more is needed.
Created attachment 273153 [details] v4
landed in: http://trac.webkit.org/changeset/197648