Fast path for casting JSValue to JSDocument*.
Created attachment 234445 [details] Patch
Comment on attachment 234445 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=234445&action=review > Source/WebCore/WebCore.xcodeproj/project.pbxproj:20760 > + ADDA94BF19686F8000453029 /* JSDocumentCustom.h */, You should probably include this file to the patch too.
Created attachment 244937 [details] Patch II
Created attachment 244938 [details] Patch II
Comment on attachment 244938 [details] Patch II Clearing flags on attachment: 244938 Committed r178758: <http://trac.webkit.org/changeset/178758>
All reviewed patches have been landed. Closing bug.
perf.webkit.org says this was a ~4% progression on Bindings/get-element-by-id <https://perf.webkit.org/#mode=charts&chartList=%5B%5B%22mac-mountainlion%22%2C%22Bindings%2Fget-element-by-id%3ARuns%22%5D%5D&zoom=%5B1421575570203%2C1421795645667.8208%5D>