Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the JSString cache from DOMWrapperWorld to VM.
<https://webkit.org/b/131940> Source/JavaScriptCore: Reviewed by Geoff Garen. * runtime/VM.h: Source/WebCore: Since there's no need for JSStrings to be world-specific, this patch moves the string cache to JSC::VM. This makes jsStringWithCache() a lot faster since it no longer has to jump through twenty-eleven hoops to find the DOMWrapperWorld. Reviewed by Geoff Garen. * bindings/js/DOMWrapperWorld.cpp: (WebCore::DOMWrapperWorld::clearWrappers): * bindings/js/DOMWrapperWorld.h: * bindings/js/JSDOMBinding.cpp: (WebCore::jsStringWithCache): Canonical link: https://commits.webkit.org/150025@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Andreas Kling
committed
Apr 21, 2014
1 parent
d650c16
commit 07c8968
Showing
6 changed files
with
34 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters